NamesApi
Method
HTTP request
Description
names_check_usage
Examples
require 'time'
require 'ionoscloud-container-registry'
# setup authorization
IonoscloudContainerRegistry.configure do |config|
# Configure HTTP basic authorization: basicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
# Configure API key authorization: tokenAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = IonoscloudContainerRegistry::NamesApi.new
name = 'name_example' # String | The desired registry name
begin
# Get container registry name availability
api_instance.names_check_usage(name)
rescue IonoscloudContainerRegistry::ApiError => e
puts "Error when calling NamesApi->names_check_usage: #{e}"
endUsing the names_check_usage_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated
