AuthCredentials Class

Definition

Base class for different types of authentication credentials.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter))]
public class AuthCredentials : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter))>]
type AuthCredentials = class
    interface IAuthCredentials
    interface IJsonSerializable
Public Class AuthCredentials
Implements IAuthCredentials
Inheritance
AuthCredentials
Attributes
Implements

Constructors

AuthCredentials()

Creates an new AuthCredentials instance.

Properties

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AuthCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AuthCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials 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 AuthCredentials, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AuthCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to