Compartir a través de


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

Constructor

Registry(*, location: str, sku: _models.Sku, tags: Dict[str, str] | None = None, identity: _models.IdentityProperties | None = None, admin_user_enabled: bool = False, network_rule_set: _models.NetworkRuleSet | None = None, policies: _models.Policies | None = None, encryption: _models.EncryptionProperty | None = None, data_endpoint_enabled: bool | None = None, public_network_access: str | _models.PublicNetworkAccess | None = None, network_rule_bypass_options: str | _models.NetworkRuleBypassOptions | None = None, zone_redundancy: str | _models.ZoneRedundancy | None = None, anonymous_pull_enabled: bool = False, **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
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.Sku>

The SKU of the container registry. Required.

identity
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.IdentityProperties>

The identity of the container registry.

admin_user_enabled

The value that indicates whether the admin user is enabled.

network_rule_set
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.NetworkRuleSet>

The network rule set for a container registry.

policies
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.Policies>

The policies for a container registry.

encryption
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.EncryptionProperty>

The encryption settings of container registry.

data_endpoint_enabled

Enable a single data endpoint per region for serving data.

public_network_access
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.PublicNetworkAccess>

Whether or not public network access is allowed for the container registry. Known values are: "Enabled" and "Disabled".

network_rule_bypass_options
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.NetworkRuleBypassOptions>

Whether to allow trusted Azure services to access a network restricted registry. Known values are: "AzureServices" and "None".

zone_redundancy
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.ZoneRedundancy>

Whether or not zone redundancy is enabled for this container registry. Known values are: "Enabled" and "Disabled".

anonymous_pull_enabled

Enables registry-wide pull from unauthenticated clients.

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.

system_data
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.SystemData>

Metadata pertaining to creation and last modification of the resource.

sku
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.Sku>

The SKU of the container registry. Required.

identity
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.IdentityProperties>

The identity of the container registry.

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
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.ProvisioningState>

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
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.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.

network_rule_set
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.NetworkRuleSet>

The network rule set for a container registry.

policies
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.Policies>

The policies for a container registry.

encryption
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.EncryptionProperty>

The encryption settings of container registry.

data_endpoint_enabled

Enable a single data endpoint per region for serving data.

data_endpoint_host_names

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

private_endpoint_connections
list[<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.PrivateEndpointConnection>]

List of private endpoint connections for a container registry.

public_network_access
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.PublicNetworkAccess>

Whether or not public network access is allowed for the container registry. Known values are: "Enabled" and "Disabled".

network_rule_bypass_options
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.NetworkRuleBypassOptions>

Whether to allow trusted Azure services to access a network restricted registry. Known values are: "AzureServices" and "None".

zone_redundancy
str or <xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.ZoneRedundancy>

Whether or not zone redundancy is enabled for this container registry. Known values are: "Enabled" and "Disabled".

anonymous_pull_enabled

Enables registry-wide pull from unauthenticated clients.