SubscriptionData Class

Definition

A class representing the Subscription data model.

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

Properties

AuthorizationSource

The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'.

DisplayName

The subscription display name.

Id

The ARM resource identifier.

ManagedByTenants

An array containing the tenants managing the subscription.

State

The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.

SubscriptionId

The subscription ID.

SubscriptionPolicies

The subscription policies.

Tags

The tags attached to the subscription.

TenantId

The subscription tenant ID.

Explicit Interface Implementations

IJsonModel<SubscriptionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SubscriptionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SubscriptionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubscriptionData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SubscriptionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to