Updates a container registry with the specified parameters.
Syntax UpdateExpanded (Default)Update-AzContainerRegistry
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-AnonymousPullEnabled]
[-AzureAdAuthenticationAsArmPolicyStatus <AzureAdAuthenticationAsArmPolicyStatus>]
[-DataEndpointEnabled]
[-EnableAdminUser]
[-EncryptionStatus <EncryptionStatus>]
[-ExportPolicyStatus <ExportPolicyStatus>]
[-IdentityPrincipalId <String>]
[-IdentityTenantId <String>]
[-IdentityType <ResourceIdentityType>]
[-IdentityUserAssignedIdentity <Hashtable>]
[-KeyVaultPropertyIdentity <String>]
[-KeyVaultPropertyKeyIdentifier <String>]
[-NetworkRuleBypassOption <NetworkRuleBypassOptions>]
[-NetworkRuleSetDefaultAction <DefaultAction>]
[-NetworkRuleSetIPRule <IIPRule[]>]
[-PublicNetworkAccess <PublicNetworkAccess>]
[-QuarantinePolicyStatus <PolicyStatus>]
[-RetentionPolicyDay <Int32>]
[-RetentionPolicyStatus <PolicyStatus>]
[-Sku <SkuName>]
[-SoftDeletePolicyRetentionDay <Int32>]
[-SoftDeletePolicyStatus <PolicyStatus>]
[-Tag <Hashtable>]
[-TrustPolicyStatus <PolicyStatus>]
[-TrustPolicyType <TrustPolicyType>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpdateViaIdentityExpanded
Update-AzContainerRegistry
-InputObject <IContainerRegistryIdentity>
[-AnonymousPullEnabled]
[-AzureAdAuthenticationAsArmPolicyStatus <AzureAdAuthenticationAsArmPolicyStatus>]
[-DataEndpointEnabled]
[-EnableAdminUser]
[-EncryptionStatus <EncryptionStatus>]
[-ExportPolicyStatus <ExportPolicyStatus>]
[-IdentityPrincipalId <String>]
[-IdentityTenantId <String>]
[-IdentityType <ResourceIdentityType>]
[-IdentityUserAssignedIdentity <Hashtable>]
[-KeyVaultPropertyIdentity <String>]
[-KeyVaultPropertyKeyIdentifier <String>]
[-NetworkRuleBypassOption <NetworkRuleBypassOptions>]
[-NetworkRuleSetDefaultAction <DefaultAction>]
[-NetworkRuleSetIPRule <IIPRule[]>]
[-PublicNetworkAccess <PublicNetworkAccess>]
[-QuarantinePolicyStatus <PolicyStatus>]
[-RetentionPolicyDay <Int32>]
[-RetentionPolicyStatus <PolicyStatus>]
[-Sku <SkuName>]
[-SoftDeletePolicyRetentionDay <Int32>]
[-SoftDeletePolicyStatus <PolicyStatus>]
[-Tag <Hashtable>]
[-TrustPolicyStatus <PolicyStatus>]
[-TrustPolicyType <TrustPolicyType>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Updates a container registry with the specified parameters.
Examples Example 1: Enable admin user for a specified container registryUpdate-AzContainerRegistry -ResourceGroupName "MyResourceGroup" -Name "RegistryExample" -EnableAdminUser
Name SkuName LoginServer CreationDate ProvisioningState AdminUserEnabled
---- ------- ----------- ------------ ----------------- ----------------
RegistryExample Basic registryexample.azurecr.io 1/19/2023 6:10:49 AM Succeeded True
This command enables admin user for the specified container registry.
Parameters -AnonymousPullEnabledEnables registry-wide pull from unauthenticated clients.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -AsJobRun the command as a job
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -AzureAdAuthenticationAsArmPolicyStatusThe value that indicates whether the policy is enabled or not.
Parameter properties Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ConfirmPrompts you for confirmation before running the cmdlet.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: cf Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -DataEndpointEnabledEnable a single data endpoint per region for serving data.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -DefaultProfileThe DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties Type: PSObject Default value: None Supports wildcards: False DontShow: False Aliases: AzureRMContext, AzureCredential Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -EnableAdminUserThe value that indicates whether the admin user is enabled.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -EncryptionStatusIndicates whether or not the encryption is enabled for container registry.
Parameter properties Type: EncryptionStatus Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ExportPolicyStatusThe value that indicates whether the policy is enabled or not.
Parameter properties Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -IdentityPrincipalIdThe principal ID of resource identity.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -IdentityTenantIdThe tenant ID of resource.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -IdentityTypeThe identity type.
Parameter properties Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -IdentityUserAssignedIdentityThe list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Parameter properties Type: Hashtable Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Parameter properties Parameter sets UpdateViaIdentityExpanded Position: Named Mandatory: True Value from pipeline: True Value from pipeline by property name: False Value from remaining arguments: False -KeyVaultPropertyIdentityThe client id of the identity which will be used to access key vault.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -KeyVaultPropertyKeyIdentifierKey vault uri to access the encryption key.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NameThe name of the container registry.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Aliases: RegistryName, ResourceName, ContainerRegistryName Parameter sets UpdateExpanded Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NetworkRuleBypassOptionWhether to allow trusted Azure services to access a network restricted registry.
Parameter properties Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NetworkRuleSetDefaultActionThe default action of allow or deny when no other rules match.
Parameter properties Type: DefaultAction Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NetworkRuleSetIPRuleThe IP ACL rules. To construct, see NOTES section for NETWORKRULESETIPRULE properties and create a hash table.
Parameter properties Type:IIPRule[]
Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NoWaitRun the command asynchronously
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -PublicNetworkAccessWhether or not public network access is allowed for the container registry.
Parameter properties Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -QuarantinePolicyStatusThe value that indicates whether the policy is enabled or not.
Parameter properties Type: PolicyStatus Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ResourceGroupNameThe name of the resource group. The name is case insensitive.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets UpdateExpanded Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -RetentionPolicyDayThe number of days to retain an untagged manifest after which it gets purged.
Parameter properties Type: Int32 Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -RetentionPolicyStatusThe value that indicates whether the policy is enabled or not.
Parameter properties Type: PolicyStatus Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SkuThe SKU name of the container registry. Required for registry creation.
Parameter properties Type: SkuName Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SoftDeletePolicyRetentionDayThe number of days after which a soft-deleted item is permanently deleted.
Parameter properties Type: Int32 Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SoftDeletePolicyStatusThe value that indicates whether the policy is enabled or not.
Parameter properties Type: PolicyStatus Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SubscriptionIdThe ID of the target subscription. The value must be an UUID.
Parameter properties Type: String Default value: (Get-AzContext).Subscription.Id Supports wildcards: False DontShow: False Parameter sets UpdateExpanded Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -TagThe tags for the container registry.
Parameter properties Type: Hashtable Default value: None Supports wildcards: False DontShow: False Aliases: Tags Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -TrustPolicyStatusThe value that indicates whether the policy is enabled or not.
Parameter properties Type: PolicyStatus Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -TrustPolicyTypeThe type of trust policy.
Parameter properties Type: TrustPolicyType Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: wi Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False CommonParametersThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs IContainerRegistryIdentity Outputs IRegistryRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4