次の方法で共有


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_11_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, metadata_search: str | _models.MetadataSearch | 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.

identity

The identity of the container registry.

admin_user_enabled

The value that indicates whether the admin user is enabled.

network_rule_set

The network rule set for a container registry.

policies

The policies for a container registry.

encryption

The encryption settings of container registry.

data_endpoint_enabled

Enable a single data endpoint per region for serving data.

public_network_access

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

network_rule_bypass_options

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

zone_redundancy

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.

metadata_search

Determines whether registry artifacts are indexed for metadata search. Known values are: "Enabled" and "Disabled".

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

Metadata pertaining to creation and last modification of the resource.

sku
Sku

The SKU of the container registry. Required.

identity

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

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.

network_rule_set

The network rule set for a container registry.

policies

The policies for a container registry.

encryption

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 of private endpoint connections for a container registry.

public_network_access

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

network_rule_bypass_options

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

zone_redundancy

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.

metadata_search

Determines whether registry artifacts are indexed for metadata search. Known values are: "Enabled" and "Disabled".