Share via


ImageRegistryCredential Class

Definition

Image registry credential.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredentialTypeConverter))]
public class ImageRegistryCredential : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IImageRegistryCredential
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ImageRegistryCredentialTypeConverter))>]
type ImageRegistryCredential = class
    interface IImageRegistryCredential
    interface IJsonSerializable
Public Class ImageRegistryCredential
Implements IImageRegistryCredential
Inheritance
ImageRegistryCredential
Attributes
Implements

Constructors

ImageRegistryCredential()

Creates an new ImageRegistryCredential instance.

Properties

Identity

The identity for the private registry.

IdentityUrl

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageRegistryCredential.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageRegistryCredential.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IImageRegistryCredential.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageRegistryCredential into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to