Compartir a través de


RegistryCredentials Class

Definition

Container App Private Registry

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.RegistryCredentialsTypeConverter))]
public class RegistryCredentials : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.RegistryCredentialsTypeConverter))>]
type RegistryCredentials = class
    interface IRegistryCredentials
    interface IJsonSerializable
Public Class RegistryCredentials
Implements IRegistryCredentials
Inheritance
RegistryCredentials
Attributes
Implements

Constructors

RegistryCredentials()

Creates an new RegistryCredentials instance.

Properties

Identity

A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'

PasswordSecretRef

The name of the Secret that contains the registry login password

Server

Container Registry Server

Username

Container Registry Username

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RegistryCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RegistryCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryCredentials.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RegistryCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to