共用方式為


ContainerGroupImageRegistryCredential Class

Definition

Image registry credential.

public class ContainerGroupImageRegistryCredential : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential>
type ContainerGroupImageRegistryCredential = class
    interface IJsonModel<ContainerGroupImageRegistryCredential>
    interface IPersistableModel<ContainerGroupImageRegistryCredential>
Public Class ContainerGroupImageRegistryCredential
Implements IJsonModel(Of ContainerGroupImageRegistryCredential), IPersistableModel(Of ContainerGroupImageRegistryCredential)
Inheritance
ContainerGroupImageRegistryCredential
Implements

Constructors

ContainerGroupImageRegistryCredential(String)

Initializes a new instance of ContainerGroupImageRegistryCredential.

Properties

Identity

The identity for the private registry.

IdentityUri

The identity URL for the private registry.

Password

The password for the private registry.

Server

The Docker image registry server without a protocol such as "http" and "https".

Username

The username for the private registry.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerGroupImageRegistryCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerGroupImageRegistryCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGroupImageRegistryCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGroupImageRegistryCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerGroupImageRegistryCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to