Share via


ServiceTenant Class

Definition

Billing account service tenant.

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

Properties

TenantId

Service tenant id.

TenantName

Service tenant name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceTenant>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceTenant>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceTenant>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceTenant>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceTenant>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to