Registry Class

An object that represents a container registry.

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerregistry.v2019_05_01.models._models_py3.Resource
Registry

Constructor

Registry(*, location: str, sku: _models.Sku, tags: Dict[str, str] | None = None, admin_user_enabled: bool = False, storage_account: _models.StorageAccountProperties | None = None, network_rule_set: _models.NetworkRuleSet | None = None, policies: _models.Policies | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

The location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

sku
Sku

The SKU of the container registry. Required.

admin_user_enabled

The value that indicates whether the admin user is enabled.

storage_account

The properties of the storage account for the container registry. Only applicable to Classic SKU.

network_rule_set

The network rule set for a container registry.

policies

The policies for a container registry.

Variables

Name Description
id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

The location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

sku
Sku

The SKU of the container registry. Required.

login_server
str

The URL that can be used to log into the container registry.

creation_date

The creation date of the container registry in ISO8601 format.

provisioning_state

The provisioning state of the container registry at the time the operation was called. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled".

status

The status of the container registry at the time the operation was called.

admin_user_enabled

The value that indicates whether the admin user is enabled.

storage_account

The properties of the storage account for the container registry. Only applicable to Classic SKU.

network_rule_set

The network rule set for a container registry.

policies

The policies for a container registry.