RegistriesApi
All URIs are relative to https://api.ionos.com/containerregistries
registries_delete
registries_delete(registry_id)
Delete registry
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::RegistriesApi.new
registry_id = TODO # String | The unique ID of the registry
begin
# Delete registry
api_instance.registries_delete(registry_id)
rescue IonoscloudContainerRegistry::ApiError => e
puts "Error when calling RegistriesApi->registries_delete: #{e}"
endUsing the registries_delete_with_http_info variant
This returns an Array which contains the response data (nil in this case), status code and headers.
<Array(nil, Integer, Hash)> registries_delete_with_http_info(registry_id)
Parameters
Return type
nil (empty response body)
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registries_find_by_id
registries_find_by_id(registry_id)
Get a registry
Get all information for a specific container registry
Examples
Using the registries_find_by_id_with_http_info variant
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> registries_find_by_id_with_http_info(registry_id)
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registries_get
registries_get(opts)
List all container registries
List all managed container registries for your account
Examples
Using the registries_get_with_http_info variant
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> registries_get_with_http_info(opts)
Parameters
filter_name
String
The registry name to search for
[optional]
limit
String
The maximum number of elements to return (used together with nextPageToken for pagination)
[optional][default to '100']
next_page_token
String
The next page from the complete list of elements (used together with limit for pagination)
[optional]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registries_patch
registries_patch(registry_id, patch_registry_input)
Update the properties of a registry
Update the properties of a registry - "garbageCollectionSchedule" time and days of the week for runs
Examples
Using the registries_patch_with_http_info variant
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> registries_patch_with_http_info(registry_id, patch_registry_input)
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
registries_post
registries_post(post_registry_input)
Create container registry
Create a registry to hold container images or OCI compliant artifacts - "name" must have passed validation - "location" must be one of the available location IDs - "garbageCollectionSchedule" time and days of the week for runs
Examples
Using the registries_post_with_http_info variant
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> registries_post_with_http_info(post_registry_input)
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
registries_put
registries_put(registry_id, put_registry_input)
Create or replace a container registry
Create/replace a registry to hold container images or OCI compliant artifacts On create - "name" must have passed validation - "location" must be one of the available location IDs On update - "name" cannot be changed - "location" cannot be changed On create or update - "garbageCollectionSchedule": time and days of the week for runs
Examples
Using the registries_put_with_http_info variant
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> registries_put_with_http_info(registry_id, put_registry_input)
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated
