Share via


ContainerRegistryData Class

Definition

A class representing the ContainerRegistry data model. An object that represents a container registry.

public class ContainerRegistryData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.ContainerRegistryData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.ContainerRegistryData>
type ContainerRegistryData = class
    inherit TrackedResourceData
    interface IJsonModel<ContainerRegistryData>
    interface IPersistableModel<ContainerRegistryData>
Public Class ContainerRegistryData
Inherits TrackedResourceData
Implements IJsonModel(Of ContainerRegistryData), IPersistableModel(Of ContainerRegistryData)
Inheritance
ContainerRegistryData
Implements

Constructors

ContainerRegistryData(AzureLocation, ContainerRegistrySku)

Initializes a new instance of ContainerRegistryData.

Properties

CreatedOn

The creation date of the container registry in ISO8601 format.

DataEndpointHostNames

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

Encryption

The encryption settings of container registry.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The identity of the container registry.

IsAdminUserEnabled

The value that indicates whether the admin user is enabled.

IsDataEndpointEnabled

Enable a single data endpoint per region for serving data.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
LoginServer

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

Name

The name of the resource.

(Inherited from ResourceData)
NetworkRuleBypassOptions

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

NetworkRuleSet

The network rule set for a container registry.

Policies

The policies for a container registry.

PrivateEndpointConnections

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.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sku

The SKU of the container registry.

Status

The status of the container registry at the time the operation was called.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
ZoneRedundancy

Whether or not zone redundancy is enabled for this container registry.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ContainerRegistryData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerRegistryData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerRegistryData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to