ArmContainerRegistryModelFactory.ContainerRegistryData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerRegistryData.
public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryData ContainerRegistryData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string loginServer = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceStatus status = default, bool? isAdminUserEnabled = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleSet networkRuleSet = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPolicies policies = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEncryption encryption = default, bool? isDataEndpointEnabled = default, System.Collections.Generic.IEnumerable<string> dataEndpointHostNames = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleBypassOption? networkRuleBypassOptions = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryZoneRedundancy? zoneRedundancy = default);
static member ContainerRegistryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySku * Azure.ResourceManager.Models.ManagedServiceIdentity * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceStatus * Nullable<bool> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleSet * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPolicies * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEncryption * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPublicNetworkAccess> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleBypassOption> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryZoneRedundancy> -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryData
Public Shared Function ContainerRegistryData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As ContainerRegistrySku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional loginServer As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing, Optional status As ContainerRegistryResourceStatus = Nothing, Optional isAdminUserEnabled As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As ContainerRegistryNetworkRuleSet = Nothing, Optional policies As ContainerRegistryPolicies = Nothing, Optional encryption As ContainerRegistryEncryption = Nothing, Optional isDataEndpointEnabled As Nullable(Of Boolean) = Nothing, Optional dataEndpointHostNames As IEnumerable(Of String) = Nothing, Optional privateEndpointConnections As IEnumerable(Of ContainerRegistryPrivateEndpointConnectionData) = Nothing, Optional publicNetworkAccess As Nullable(Of ContainerRegistryPublicNetworkAccess) = Nothing, Optional networkRuleBypassOptions As Nullable(Of ContainerRegistryNetworkRuleBypassOption) = Nothing, Optional zoneRedundancy As Nullable(Of ContainerRegistryZoneRedundancy) = Nothing) As ContainerRegistryData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
The SKU of the container registry.
- identity
- ManagedServiceIdentity
The identity of the container registry.
- loginServer
- String
The URL that can be used to log into the container registry.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the container registry in ISO8601 format.
- provisioningState
- Nullable<ContainerRegistryProvisioningState>
The provisioning state of the container registry at the time the operation was called.
The status of the container registry at the time the operation was called.
- networkRuleSet
- ContainerRegistryNetworkRuleSet
The network rule set for a container registry.
- policies
- ContainerRegistryPolicies
The policies for a container registry.
- encryption
- ContainerRegistryEncryption
The encryption settings of container registry.
- dataEndpointHostNames
- IEnumerable<String>
List of host names that will serve data when dataEndpointEnabled is true.
- privateEndpointConnections
- IEnumerable<ContainerRegistryPrivateEndpointConnectionData>
List of private endpoint connections for a container registry.
- publicNetworkAccess
- Nullable<ContainerRegistryPublicNetworkAccess>
Whether or not public network access is allowed for the container registry.
- networkRuleBypassOptions
- Nullable<ContainerRegistryNetworkRuleBypassOption>
Whether to allow trusted Azure services to access a network restricted registry.
- zoneRedundancy
- Nullable<ContainerRegistryZoneRedundancy>
Whether or not zone redundancy is enabled for this container registry.
Returns
A new ContainerRegistryData instance for mocking.
Applies to
Azure SDK for .NET