Dela via


Registry Class

Definition

An object that represents a container registry.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.RegistryTypeConverter))]
public class Registry : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IRegistry, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.RegistryTypeConverter))>]
type Registry = class
    interface IRegistry
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Registry
Implements IRegistry, IValidates
Inheritance
Registry
Attributes
Implements

Constructors

Registry()

Creates an new Registry instance.

Properties

AdminUserEnabled

The value that indicates whether the admin user is enabled.

AnonymousPullEnabled

Enables registry-wide pull from unauthenticated clients.

AzureAdAuthenticationAsArmPolicyStatus

The value that indicates whether the policy is enabled or not.

CreationDate

The creation date of the container registry in ISO8601 format.

DataEndpointEnabled

Enable a single data endpoint per region for serving data.

DataEndpointHostName

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

EncryptionStatus

Indicates whether or not the encryption is enabled for container registry.

ExportPolicyStatus

The value that indicates whether the policy is enabled or not.

Id

The resource ID.

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

IdentityUserAssignedIdentity

The 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}'.

KeyVaultPropertyIdentity

The client id of the identity which will be used to access key vault.

KeyVaultPropertyKeyIdentifier

Key vault uri to access the encryption key.

KeyVaultPropertyKeyRotationEnabled

Auto key rotation status for a CMK enabled registry.

KeyVaultPropertyLastKeyRotationTimestamp

Timestamp of the last successful key rotation.

KeyVaultPropertyVersionedKeyIdentifier

The fully qualified key identifier that includes the version of the key that is actually used for encryption.

Location

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

LoginServer

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

Name

The name of the resource.

NetworkRuleBypassOption

Whether to allow trusted Azure services to access a network restricted registry.

NetworkRuleSetDefaultAction

The default action of allow or deny when no other rules match.

NetworkRuleSetIPRule

The IP ACL rules.

PrivateEndpointConnection

List of private endpoint connections for a container registry.

ProvisioningState

The provisioning state of the container registry at the time the operation was called.

PublicNetworkAccess

Whether or not public network access is allowed for the container registry.

QuarantinePolicyStatus

The value that indicates whether the policy is enabled or not.

ResourceGroupName

Gets the resource group name

RetentionPolicyDay

The number of days to retain an untagged manifest after which it gets purged.

RetentionPolicyLastUpdatedTime

The timestamp when the policy was last updated.

RetentionPolicyStatus

The value that indicates whether the policy is enabled or not.

SkuName

The SKU name of the container registry. Required for registry creation.

SkuTier

The SKU tier based on the SKU name.

SoftDeletePolicyLastUpdatedTime

The timestamp when the policy was last updated.

SoftDeletePolicyRetentionDay

The number of days after which a soft-deleted item is permanently deleted.

SoftDeletePolicyStatus

The value that indicates whether the policy is enabled or not.

StatusDisplayStatus

The short label for the status.

StatusMessage

The detailed message for the status, including alerts and error messages.

StatusTimestamp

The timestamp when the status was changed to the current value.

SystemData

Metadata pertaining to creation and last modification of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

The tags of the resource.

TrustPolicyStatus

The value that indicates whether the policy is enabled or not.

TrustPolicyType

The type of trust policy.

Type

The type of the resource.

Usages
ZoneRedundancy

Whether or not zone redundancy is enabled for this container registry

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Registry.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Registry.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IRegistry.

FromJsonString(String)

Creates a new instance of Registry, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Registry into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to