你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImportSourceCredentials Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportSourceCredentialsTypeConverter))]
public class ImportSourceCredentials : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IImportSourceCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportSourceCredentialsTypeConverter))>]
type ImportSourceCredentials = class
    interface IImportSourceCredentials
    interface IJsonSerializable
Public Class ImportSourceCredentials
Implements IImportSourceCredentials
Inheritance
ImportSourceCredentials
Attributes
Implements

Constructors

ImportSourceCredentials()

Creates an new ImportSourceCredentials instance.

Properties

Password

The password used to authenticate with the source registry.

Username

The username to authenticate with the source registry.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImportSourceCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImportSourceCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IImportSourceCredentials.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImportSourceCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to