Udostępnij za pośrednictwem


SecretAuthInfo Class

Definition

The authentication info when authType is secret

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfoTypeConverter))]
public class SecretAuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISecretAuthInfo, Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfoTypeConverter))>]
type SecretAuthInfo = class
    interface ISecretAuthInfo
    interface IJsonSerializable
    interface IAuthInfoBase
    interface IValidates
Public Class SecretAuthInfo
Implements ISecretAuthInfo, IValidates
Inheritance
SecretAuthInfo
Attributes
Implements

Constructors

SecretAuthInfo()

Creates an new SecretAuthInfo instance.

Properties

AuthType

The authentication type.

Name

Username or account name for secret auth.

SecretInfo

Password or key vault secret for secret auth.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecretAuthInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecretAuthInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISecretAuthInfo.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecretAuthInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to