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.
public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryData ContainerRegistryData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary<string,string> tags, Azure.Core.AzureLocation location, string loginServer, DateTimeOffset? createdOn, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceStatus status, bool? isAdminUserEnabled, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleSet networkRuleSet, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPolicies policies, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEncryption encryption, bool? isDataEndpointEnabled, System.Collections.Generic.IEnumerable<string> dataEndpointHostNames, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRegionalEndpointStatus? regionalEndpoints, System.Collections.Generic.IEnumerable<string> regionalEndpointHostNames, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEndpointProtocol? endpointProtocol, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPrivateEndpointConnectionData> privateEndpointConnections, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPublicNetworkAccess? publicNetworkAccess, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleBypassOption? networkRuleBypassOptions, bool? isNetworkRuleBypassAllowedForTasks, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryZoneRedundancy? zoneRedundancy, bool? isAnonymousPullEnabled, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryMetadataSearch? metadataSearch, Azure.ResourceManager.ContainerRegistry.Models.AutoGeneratedDomainNameLabelScope? autoGeneratedDomainNameLabelScope, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWritableCacheRepositories? writableCacheRepos = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRoleAssignmentMode? roleAssignmentMode = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member ContainerRegistryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * 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> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRegionalEndpointStatus> * seq<string> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEndpointProtocol> * seq<Azure.ResourceManager.ContainerRegistry.ContainerRegistryPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPublicNetworkAccess> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleBypassOption> * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryZoneRedundancy> * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryMetadataSearch> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.AutoGeneratedDomainNameLabelScope> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWritableCacheRepositories> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRoleAssignmentMode> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySku * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryData
Public Shared Function ContainerRegistryData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, tags As IDictionary(Of String, String), location As AzureLocation, loginServer As String, createdOn As Nullable(Of DateTimeOffset), provisioningState As Nullable(Of ContainerRegistryProvisioningState), status As ContainerRegistryResourceStatus, isAdminUserEnabled As Nullable(Of Boolean), networkRuleSet As ContainerRegistryNetworkRuleSet, policies As ContainerRegistryPolicies, encryption As ContainerRegistryEncryption, isDataEndpointEnabled As Nullable(Of Boolean), dataEndpointHostNames As IEnumerable(Of String), regionalEndpoints As Nullable(Of ContainerRegistryRegionalEndpointStatus), regionalEndpointHostNames As IEnumerable(Of String), endpointProtocol As Nullable(Of ContainerRegistryEndpointProtocol), privateEndpointConnections As IEnumerable(Of ContainerRegistryPrivateEndpointConnectionData), publicNetworkAccess As Nullable(Of ContainerRegistryPublicNetworkAccess), networkRuleBypassOptions As Nullable(Of ContainerRegistryNetworkRuleBypassOption), isNetworkRuleBypassAllowedForTasks As Nullable(Of Boolean), zoneRedundancy As Nullable(Of ContainerRegistryZoneRedundancy), isAnonymousPullEnabled As Nullable(Of Boolean), metadataSearch As Nullable(Of ContainerRegistryMetadataSearch), autoGeneratedDomainNameLabelScope As Nullable(Of AutoGeneratedDomainNameLabelScope), Optional writableCacheRepos As Nullable(Of ContainerRegistryWritableCacheRepositories) = Nothing, Optional roleAssignmentMode As Nullable(Of ContainerRegistryRoleAssignmentMode) = Nothing, Optional sku As ContainerRegistrySku = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As ContainerRegistryData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the private link resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- 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.
- regionalEndpoints
- Nullable<ContainerRegistryRegionalEndpointStatus>
Enable per-region endpoints for accessing registry.
- regionalEndpointHostNames
- IEnumerable<String>
List of host names that will serve registry when RegionalEndpoints is enabled.
- endpointProtocol
- Nullable<ContainerRegistryEndpointProtocol>
The connectivity protocol for the registry, such as IPv4 or dual stack (IPv4 and IPv6).
- 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.
Whether or not Tasks allowed to bypass the network rules for this container registry.
- zoneRedundancy
- Nullable<ContainerRegistryZoneRedundancy>
Whether or not zone redundancy is enabled for this container registry.
- metadataSearch
- Nullable<ContainerRegistryMetadataSearch>
Determines whether registry artifacts are indexed for metadata search.
- autoGeneratedDomainNameLabelScope
- Nullable<AutoGeneratedDomainNameLabelScope>
Determines the domain name label reuse scope.
- writableCacheRepos
- Nullable<ContainerRegistryWritableCacheRepositories>
Whether to allow cache operations that write to repositories in this registry.
- roleAssignmentMode
- Nullable<ContainerRegistryRoleAssignmentMode>
Determines registry role assignment mode.
The SKU of the container registry.
- identity
- ManagedServiceIdentity
The identity of the container registry.
Returns
A new ContainerRegistryData instance for mocking.