Share via


DefaultPurviewAccountPayload Class

Definition

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

public class DefaultPurviewAccountPayload
public class DefaultPurviewAccountPayload : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Purview.Models.DefaultPurviewAccountPayload>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Purview.Models.DefaultPurviewAccountPayload>
type DefaultPurviewAccountPayload = class
type DefaultPurviewAccountPayload = class
    interface IJsonModel<DefaultPurviewAccountPayload>
    interface IPersistableModel<DefaultPurviewAccountPayload>
Public Class DefaultPurviewAccountPayload
Public Class DefaultPurviewAccountPayload
Implements IJsonModel(Of DefaultPurviewAccountPayload), IPersistableModel(Of DefaultPurviewAccountPayload)
Inheritance
DefaultPurviewAccountPayload
Implements

Constructors

DefaultPurviewAccountPayload()

Initializes a new instance of DefaultPurviewAccountPayload.

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.

Explicit Interface Implementations

IJsonModel<DefaultPurviewAccountPayload>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DefaultPurviewAccountPayload>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DefaultPurviewAccountPayload>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DefaultPurviewAccountPayload>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DefaultPurviewAccountPayload>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to