Share via


SourceRegistryCredentials Class

Definition

Describes the credential parameters for accessing the source registry.

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

Constructors

SourceRegistryCredentials()

Creates an new SourceRegistryCredentials instance.

Properties

LoginMode

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 SourceRegistryCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceRegistryCredentials.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceRegistryCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to