Share via


ImageRepositoryCredentials Class

Definition

ImageRepositoryCredentials represents the credentials used to login to the image repository.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ImageRepositoryCredentialsTypeConverter))]
public class ImageRepositoryCredentials : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IImageRepositoryCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ImageRepositoryCredentialsTypeConverter))>]
type ImageRepositoryCredentials = class
    interface IImageRepositoryCredentials
    interface IJsonSerializable
Public Class ImageRepositoryCredentials
Implements IImageRepositoryCredentials
Inheritance
ImageRepositoryCredentials
Attributes
Implements

Constructors

ImageRepositoryCredentials()

Creates an new ImageRepositoryCredentials instance.

Properties

Password

The password or token used to access an image in the target repository.

RegistryUrl

The URL of the authentication server used to validate the repository credentials.

Username

The username used to access an image in the target repository.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageRepositoryCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageRepositoryCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IImageRepositoryCredentials.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageRepositoryCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to