Dela via


BillingPrincipal Class

Definition

A principal who has interacted with a billing entity.

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

Constructors

BillingPrincipal()

Initializes a new instance of BillingPrincipal.

Properties

ObjectId

The object id of the principal who has interacted with a billing entity.

TenantId

The tenant id of the principal who has interacted with a billing entity.

Upn

The user principal name of the principal who has interacted with a billing entity.

Explicit Interface Implementations

IJsonModel<BillingPrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingPrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingPrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingPrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingPrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to