Table of Contents

Class SubscriptionData

Namespace
Azure.ResourceManager.Resources
Assembly
Azure.ResourceManager.dll

A class representing the Subscription data model.

public class SubscriptionData : IJsonModel<SubscriptionData>, IPersistableModel<SubscriptionData>
Inheritance
SubscriptionData
Implements
IJsonModel<SubscriptionData>
IPersistableModel<SubscriptionData>
Inherited Members

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'.

public string AuthorizationSource { get; }

Property Value

string

DisplayName

The subscription display name.

public string DisplayName { get; }

Property Value

string

Id

The ARM resource identifier.

public virtual ResourceIdentifier Id { get; }

Property Value

ResourceIdentifier

ManagedByTenants

An array containing the tenants managing the subscription.

public IReadOnlyList<ManagedByTenant> ManagedByTenants { get; }

Property Value

IReadOnlyList<ManagedByTenant>

State

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

public SubscriptionState? State { get; }

Property Value

SubscriptionState?

SubscriptionId

The subscription ID.

public string SubscriptionId { get; }

Property Value

string

SubscriptionPolicies

The subscription policies.

public SubscriptionPolicies SubscriptionPolicies { get; }

Property Value

SubscriptionPolicies

Tags

The tags attached to the subscription.

public IReadOnlyDictionary<string, string> Tags { get; }

Property Value

IReadOnlyDictionary<string, string>

TenantId

The subscription tenant ID.

public Guid? TenantId { get; }

Property Value

Guid?