azure.mgmt.containerregistry.models module

class azure.mgmt.containerregistry.models.RegistryNameCheckRequest(name)[source]

Bases: msrest.serialization.Model

A request to check whether a container registry name is available.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters:name (str) – The name of the container registry.
Variables:type (str) – The resource type of the container registry. This field must be set to “Microsoft.ContainerRegistry/registries”. Default value: “Microsoft.ContainerRegistry/registries” .
type = 'Microsoft.ContainerRegistry/registries'
class azure.mgmt.containerregistry.models.RegistryNameStatus(name_available=None, reason=None, message=None)[source]

Bases: msrest.serialization.Model

The result of a request to check the availability of a container registry name.

Parameters:
  • name_available (bool) – The value that indicates whether the name is available.
  • reason (str) – If any, the reason that the name is not available.
  • message (str) – If any, the error message that provides more detail for the reason that the name is not available.
class azure.mgmt.containerregistry.models.OperationDisplayDefinition(provider=None, resource=None, operation=None, description=None)[source]

Bases: msrest.serialization.Model

The display information for a container registry operation.

Parameters:
  • provider (str) – The resource provider name: Microsoft.ContainerRegistry.
  • resource (str) – The resource on which the operation is performed.
  • operation (str) – The operation that users can perform.
  • description (str) – The description for the operation.
class azure.mgmt.containerregistry.models.OperationDefinition(name=None, display=None)[source]

Bases: msrest.serialization.Model

The definition of a container registry operation.

Parameters:
  • name (str) – Operation name: {provider}/{resource}/{operation}.
  • display (OperationDisplayDefinition) – The display information for the container registry operation.
class azure.mgmt.containerregistry.models.Sku(name)[source]

Bases: msrest.serialization.Model

The SKU of a container registry.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters:name (str) – The SKU name of the the container registry. Required for registry creation. Allowed value: Basic.
Variables:tier (str or SkuTier) – The SKU tier based on the SKU name. Possible values include: ‘Basic’
class azure.mgmt.containerregistry.models.StorageAccountProperties(name=None)[source]

Bases: msrest.serialization.Model

The properties of a storage account for a container registry.

Parameters:name (str) – The name of the storage account.
class azure.mgmt.containerregistry.models.Registry(location, sku, tags=None, admin_user_enabled=False, storage_account=None)[source]

Bases: azure.mgmt.containerregistry.models.resource.Resource

An object that represents a container registry.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – The resource ID.
  • name (str) – The name of the resource.
  • type (str) – The type of the resource.
  • login_server (str) – The URL that can be used to log into the container registry.
  • creation_date (datetime) – The creation date of the container registry in ISO8601 format.
  • provisioning_state (str or ProvisioningState) – The status of the container registry at the time the operation was called. Possible values include: ‘Creating’, ‘Succeeded’
Parameters:
  • location (str) – The location of the resource. This cannot be changed after the resource is created.
  • tags (dict) – The tags of the resource.
  • sku (Sku) – The SKU of the container registry.
  • admin_user_enabled (bool) – The value that indicates whether the admin user is enabled. This value is false by default. Default value: False .
  • storage_account (StorageAccountProperties) – The properties of the storage account for the container registry.
class azure.mgmt.containerregistry.models.StorageAccountParameters(name, access_key)[source]

Bases: msrest.serialization.Model

The parameters of a storage account for a container registry.

Parameters:
  • name (str) – The name of the storage account.
  • access_key (str) – The access key to the storage account.
class azure.mgmt.containerregistry.models.RegistryCreateParameters(location, sku, storage_account, tags=None, admin_user_enabled=None)[source]

Bases: msrest.serialization.Model

The parameters for creating a container registry.

Parameters:
  • tags (dict) – The tags for the container registry.
  • location (str) – The location of the container registry. This cannot be changed after the resource is created.
  • sku (Sku) – The SKU of the container registry.
  • admin_user_enabled (bool) – The value that indicates whether the admin user is enabled. This value is false by default.
  • storage_account (StorageAccountParameters) – The parameters of a storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry.
class azure.mgmt.containerregistry.models.RegistryUpdateParameters(tags=None, admin_user_enabled=None, storage_account=None)[source]

Bases: msrest.serialization.Model

The parameters for updating a container registry.

Parameters:
  • tags (dict) – The tags for the container registry.
  • admin_user_enabled (bool) – The value that indicates whether the admin user is enabled. This value is false by default.
  • storage_account (StorageAccountParameters) – The parameters of a storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry.
class azure.mgmt.containerregistry.models.RegistryPassword(name=None, value=None)[source]

Bases: msrest.serialization.Model

The login password for the container registry.

Parameters:
  • name (str or PasswordName) – The password name. Possible values include: ‘password’, ‘password2’
  • value (str) – The password value.
class azure.mgmt.containerregistry.models.RegistryListCredentialsResult(username=None, passwords=None)[source]

Bases: msrest.serialization.Model

The response from the ListCredentials operation.

Parameters:
  • username (str) – The username for a container registry.
  • passwords (list of RegistryPassword) – The list of passwords for a container registry.
class azure.mgmt.containerregistry.models.RegenerateCredentialParameters(name)[source]

Bases: msrest.serialization.Model

The parameters used to regenerate the login credential.

Parameters:name (str or PasswordName) – Specifies name of the password which should be regenerated – password or password2. Possible values include: ‘password’, ‘password2’
class azure.mgmt.containerregistry.models.Resource(location, tags=None)[source]

Bases: msrest.serialization.Model

An Azure resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – The resource ID.
  • name (str) – The name of the resource.
  • type (str) – The type of the resource.
Parameters:
  • location (str) – The location of the resource. This cannot be changed after the resource is created.
  • tags (dict) – The tags of the resource.
class azure.mgmt.containerregistry.models.RegistryPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Registry object

class azure.mgmt.containerregistry.models.OperationDefinitionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of OperationDefinition object

class azure.mgmt.containerregistry.models.SkuTier[source]

Bases: enum.Enum

basic = 'Basic'
class azure.mgmt.containerregistry.models.ProvisioningState[source]

Bases: enum.Enum

creating = 'Creating'
succeeded = 'Succeeded'
class azure.mgmt.containerregistry.models.PasswordName[source]

Bases: enum.Enum

password = 'password'
password2 = 'password2'