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.v2021_06_01_preview.models._models_py3.Resource
Registry

Constructor

Registry(*, location: str, sku: azure.mgmt.containerregistry.v2021_06_01_preview.models._models_py3.Sku, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.containerregistry.v2021_06_01_preview.models._models_py3.IdentityProperties] = None, admin_user_enabled: Optional[bool] = False, network_rule_set: Optional[azure.mgmt.containerregistry.v2021_06_01_preview.models._models_py3.NetworkRuleSet] = None, policies: Optional[azure.mgmt.containerregistry.v2021_06_01_preview.models._models_py3.Policies] = None, encryption: Optional[azure.mgmt.containerregistry.v2021_06_01_preview.models._models_py3.EncryptionProperty] = None, data_endpoint_enabled: Optional[bool] = None, public_network_access: Optional[Union[str, azure.mgmt.containerregistry.v2021_06_01_preview.models._container_registry_management_client_enums.PublicNetworkAccess]] = None, network_rule_bypass_options: Optional[Union[str, azure.mgmt.containerregistry.v2021_06_01_preview.models._container_registry_management_client_enums.NetworkRuleBypassOptions]] = None, zone_redundancy: Optional[Union[str, azure.mgmt.containerregistry.v2021_06_01_preview.models._container_registry_management_client_enums.ZoneRedundancy]] = None, anonymous_pull_enabled: Optional[bool] = False, **kwargs)

Variables

id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

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

tags
dict[str, str]

A set of tags. The tags of the resource.

system_data
SystemData

Metadata pertaining to creation and last modification of the resource.

sku
Sku

Required. The SKU of the container registry.

identity
IdentityProperties

The identity of the container registry.

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 provisioning state of the container registry at the time the operation was called. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled".

status
Status

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

admin_user_enabled
bool

The value that indicates whether the admin user is enabled.

network_rule_set
NetworkRuleSet

The network rule set for a container registry.

policies
Policies

The policies for a container registry.

encryption
EncryptionProperty

The encryption settings of container registry.

data_endpoint_enabled
bool

Enable a single data endpoint per region for serving data.

data_endpoint_host_names
list[str]

List of host names that will serve data when dataEndpointEnabled is true.

private_endpoint_connections
list[PrivateEndpointConnection]

List of private endpoint connections for a container registry.

public_network_access
str or PublicNetworkAccess

Whether or not public network access is allowed for the container registry. Possible values include: "Enabled", "Disabled".

network_rule_bypass_options
str or NetworkRuleBypassOptions

Whether to allow trusted Azure services to access a network restricted registry. Possible values include: "AzureServices", "None".

zone_redundancy
str or ZoneRedundancy

Whether or not zone redundancy is enabled for this container registry. Possible values include: "Enabled", "Disabled".

anonymous_pull_enabled
bool

Enables registry-wide pull from unauthenticated clients.