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

Credentials Class

Definition

The Credentials.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.CredentialsTypeConverter))]
public class Credentials : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.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

Type

The Credentials type.

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.StorageMover.Models.Api20240701.ICredentials. Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

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