共用方式為


Registry Constructors

Definition

Overloads

Registry()

Initializes a new instance of the Registry class.

Registry(String, Sku, String, String, String, IDictionary<String, String>, SystemData, IdentityProperties, String, Nullable<DateTime>, String, Status, Nullable<Boolean>, NetworkRuleSet, Policies, EncryptionProperty, Nullable<Boolean>, IList<String>, IList<PrivateEndpointConnection>, String, String, String)

Initializes a new instance of the Registry class.

Registry()

Initializes a new instance of the Registry class.

public Registry ();
Public Sub New ()

Applies to

Registry(String, Sku, String, String, String, IDictionary<String, String>, SystemData, IdentityProperties, String, Nullable<DateTime>, String, Status, Nullable<Boolean>, NetworkRuleSet, Policies, EncryptionProperty, Nullable<Boolean>, IList<String>, IList<PrivateEndpointConnection>, String, String, String)

Initializes a new instance of the Registry class.

public Registry (string location, Microsoft.Azure.Management.ContainerRegistry.Models.Sku sku, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default, Microsoft.Azure.Management.ContainerRegistry.Models.IdentityProperties identity = default, string loginServer = default, DateTime? creationDate = default, string provisioningState = default, Microsoft.Azure.Management.ContainerRegistry.Models.Status status = default, bool? adminUserEnabled = default, Microsoft.Azure.Management.ContainerRegistry.Models.NetworkRuleSet networkRuleSet = default, Microsoft.Azure.Management.ContainerRegistry.Models.Policies policies = default, Microsoft.Azure.Management.ContainerRegistry.Models.EncryptionProperty encryption = default, bool? dataEndpointEnabled = default, System.Collections.Generic.IList<string> dataEndpointHostNames = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.PrivateEndpointConnection> privateEndpointConnections = default, string publicNetworkAccess = default, string networkRuleBypassOptions = default, string zoneRedundancy = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Registry : string * Microsoft.Azure.Management.ContainerRegistry.Models.Sku * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData * Microsoft.Azure.Management.ContainerRegistry.Models.IdentityProperties * string * Nullable<DateTime> * string * Microsoft.Azure.Management.ContainerRegistry.Models.Status * Nullable<bool> * Microsoft.Azure.Management.ContainerRegistry.Models.NetworkRuleSet * Microsoft.Azure.Management.ContainerRegistry.Models.Policies * Microsoft.Azure.Management.ContainerRegistry.Models.EncryptionProperty * Nullable<bool> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.PrivateEndpointConnection> * string * string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.Registry
Public Sub New (location As String, sku As Sku, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional identity As IdentityProperties = Nothing, Optional loginServer As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional status As Status = Nothing, Optional adminUserEnabled As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing, Optional policies As Policies = Nothing, Optional encryption As EncryptionProperty = Nothing, Optional dataEndpointEnabled As Nullable(Of Boolean) = Nothing, Optional dataEndpointHostNames As IList(Of String) = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional networkRuleBypassOptions As String = Nothing, Optional zoneRedundancy As String = Nothing)

Parameters

location
String

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

sku
Sku

The SKU of the container registry.

id
String

The resource ID.

name
String

The name of the resource.

type
String

The type of the resource.

tags
IDictionary<String,String>

The tags of the resource.

systemData
SystemData

Metadata pertaining to creation and last modification of the resource.

identity
IdentityProperties

The identity of the container registry.

loginServer
String

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

creationDate
Nullable<DateTime>

The creation date of the container registry in ISO8601 format.

provisioningState
String

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.

adminUserEnabled
Nullable<Boolean>

The value that indicates whether the admin user is enabled.

networkRuleSet
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.

dataEndpointEnabled
Nullable<Boolean>

Enable a single data endpoint per region for serving data.

dataEndpointHostNames
IList<String>

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

privateEndpointConnections
IList<PrivateEndpointConnection>

List of private endpoint connections for a container registry.

publicNetworkAccess
String

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

networkRuleBypassOptions
String

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

zoneRedundancy
String

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

Applies to