RegistriesApi
All URIs are relative to https://api.ionos.com/containerregistries
registriesDelete
registriesDelete(registryId)
Delete registry
Examples
const ionoscloud = require('@ionos-cloud/sdk-nodejs-container-registry');
// setup authorization
const config = new ionoscloud.Configuration({
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD',
apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.RegistriesApi(config);
// Delete registry
api_instance
.registriesDelete({
registryId: 38400000-8cf0-11bd-b23e-10b96e4ef00d
})
.then((response) => console.log(response.data))
.catch((error) => console.log(error.response.data));Parameters
Return type
nil (empty response body)
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registriesFindById
registriesFindById(registryId)
Get a registry
Get all information for a specific container registry
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registriesGet
registriesGet(opts)
List all container registries
List all managed container registries for your account
Examples
Parameters
filterName
string
The registry name to search for
[optional][default to undefined]
limit
string
The maximum number of elements to return (used together with pagination.token for pagination)
[optional][default to '100']
paginationToken
string
An opaque token used to iterate the set of results (used together with limit for pagination)
[optional][default to undefined]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registriesPatch
registriesPatch(registryId, patchRegistryInput)
Update the properties of a registry
Update the properties of a registry - "garbageCollectionSchedule" time and days of the week for runs
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
registriesPost
registriesPost(postRegistryInput)
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 - "features": "vulnerabilityScanning" default is enabled
Examples
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
registriesPut
registriesPut(registryId, putRegistryInput)
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
Parameters
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated
