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
DisplayName
The subscription display name.
public string DisplayName { get; }
Property Value
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
State
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
public SubscriptionState? State { get; }
Property Value
SubscriptionId
The subscription ID.
public string SubscriptionId { get; }
Property Value
SubscriptionPolicies
The subscription policies.
public SubscriptionPolicies SubscriptionPolicies { get; }
Property Value
Tags
The tags attached to the subscription.
public IReadOnlyDictionary<string, string> Tags { get; }
Property Value
TenantId
The subscription tenant ID.
public Guid? TenantId { get; }
Property Value
- Guid?