Udostępnij za pośrednictwem


ServicePrincipalSecretAuthInfo Class

Definition

The authentication info when authType is servicePrincipal secret

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

Constructors

ServicePrincipalSecretAuthInfo()

Creates an new ServicePrincipalSecretAuthInfo instance.

Properties

AuthType

The authentication type.

ClientId

ServicePrincipal application clientId for servicePrincipal auth.

DeleteOrUpdateBehavior

Indicates whether to clean up previous operation when Linker is updating or deleting

PrincipalId

Principal Id for servicePrincipal auth.

Role

Optional, this value specifies the Azure roles to be assigned. Automatically

Secret

Secret for servicePrincipal auth.

UserName

Username created in the database which is mapped to a user in AAD.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServicePrincipalSecretAuthInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServicePrincipalSecretAuthInfo.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServicePrincipalSecretAuthInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to