ArmContainerRegistryModelFactory.ContainerRegistryPatch 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.Models.ContainerRegistryPatch ContainerRegistryPatch(Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySku sku = 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, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRegionalEndpointStatus? regionalEndpoints = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEndpointProtocol? endpointProtocol = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleBypassOption? networkRuleBypassOptions = default, bool? isNetworkRuleBypassAllowedForTasks = default, bool? isAnonymousPullEnabled = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryMetadataSearch? metadataSearch = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWritableCacheRepositories? writableCacheRepos = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRoleAssignmentMode? roleAssignmentMode = default);
static member ContainerRegistryPatch : Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySku * Nullable<bool> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleSet * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPolicies * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEncryption * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRegionalEndpointStatus> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryEndpointProtocol> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPublicNetworkAccess> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNetworkRuleBypassOption> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryMetadataSearch> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWritableCacheRepositories> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRoleAssignmentMode> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPatch
Public Shared Function ContainerRegistryPatch (Optional identity As ManagedServiceIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As ContainerRegistrySku = 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 regionalEndpoints As Nullable(Of ContainerRegistryRegionalEndpointStatus) = Nothing, Optional endpointProtocol As Nullable(Of ContainerRegistryEndpointProtocol) = Nothing, Optional publicNetworkAccess As Nullable(Of ContainerRegistryPublicNetworkAccess) = Nothing, Optional networkRuleBypassOptions As Nullable(Of ContainerRegistryNetworkRuleBypassOption) = Nothing, Optional isNetworkRuleBypassAllowedForTasks As Nullable(Of Boolean) = Nothing, Optional isAnonymousPullEnabled As Nullable(Of Boolean) = Nothing, Optional metadataSearch As Nullable(Of ContainerRegistryMetadataSearch) = Nothing, Optional writableCacheRepos As Nullable(Of ContainerRegistryWritableCacheRepositories) = Nothing, Optional roleAssignmentMode As Nullable(Of ContainerRegistryRoleAssignmentMode) = Nothing) As ContainerRegistryPatch
Parameters
- identity
- ManagedServiceIdentity
The identity of the container registry.
- tags
- IDictionary<String,String>
The tags for the container registry.
The SKU of the container registry.
- 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.
- regionalEndpoints
- Nullable<ContainerRegistryRegionalEndpointStatus>
Enable per-region endpoints for accessing registry.
- endpointProtocol
- Nullable<ContainerRegistryEndpointProtocol>
The connectivity protocol for the registry, such as IPv4 or dual stack (IPv4 and IPv6).
- 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 to allow ACR Tasks service to access a network restricted registry.
- metadataSearch
- Nullable<ContainerRegistryMetadataSearch>
Determines whether registry artifacts are indexed for metadata search.
- writableCacheRepos
- Nullable<ContainerRegistryWritableCacheRepositories>
Whether to allow cache operations that write to repositories in this registry.
- roleAssignmentMode
- Nullable<ContainerRegistryRoleAssignmentMode>
Determines registry role assignment mode.
Returns
A new ContainerRegistryPatch instance for mocking.