Compartir a través de


Credentials Class

Definition

The parameters that describes a set of credentials that will be used when a run is invoked.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.CredentialsTypeConverter))]
public class Credentials : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ICredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.CredentialsTypeConverter))>]
type Credentials = class
    interface ICredentials
    interface IJsonSerializable
Public Class Credentials
Implements ICredentials
Inheritance
Credentials
Attributes
Implements

Constructors

Credentials()

Creates an new Credentials instance.

Properties

CustomRegistry

Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.

SourceRegistryLoginMode

The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Credentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Credentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ICredentials.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Credentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to