Partager via


AzureCredentials Class

Definition

Container App credentials.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureCredentialsTypeConverter))]
public class AzureCredentials : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureCredentialsTypeConverter))>]
type AzureCredentials = class
    interface IAzureCredentials
    interface IJsonSerializable
Public Class AzureCredentials
Implements IAzureCredentials
Inheritance
AzureCredentials
Attributes
Implements

Constructors

Name Description
AzureCredentials()

Creates an new AzureCredentials instance.

Properties

Name Description
ClientId

Client Id.

ClientSecret

Client Secret.

Kind

Kind of auth github does for deploying the template

SubscriptionId

Subscription Id.

TenantId

Tenant Id.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to