Freigeben über


DefaultAccountPayload Class

Definition

Payload to get and set the default account in the given scope

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Purview.Models.Api20210701.DefaultAccountPayloadTypeConverter))]
public class DefaultAccountPayload : Microsoft.Azure.PowerShell.Cmdlets.Purview.Models.Api20210701.IDefaultAccountPayload
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Purview.Models.Api20210701.DefaultAccountPayloadTypeConverter))>]
type DefaultAccountPayload = class
    interface IDefaultAccountPayload
    interface IJsonSerializable
Public Class DefaultAccountPayload
Implements IDefaultAccountPayload
Inheritance
DefaultAccountPayload
Attributes
Implements

Constructors

DefaultAccountPayload()

Creates an new DefaultAccountPayload instance.

Properties

AccountName

The name of the account that is set as the default.

ResourceGroupName

The resource group name of the account that is set as the default.

Scope

The scope object ID. For example, sub ID or tenant ID.

ScopeTenantId

The scope tenant in which the default account is set.

ScopeType

The scope where the default account is set.

SubscriptionId

The subscription ID of the account that is set as the default.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DefaultAccountPayload.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DefaultAccountPayload.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Purview.Models.Api20210701.IDefaultAccountPayload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DefaultAccountPayload into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to