Class SubscriptionModel
Subscription information.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Subscription.dll
Syntax
public class SubscriptionModel
Constructors
SubscriptionModel()
Initializes a new instance of the SubscriptionModel class.
Declaration
public SubscriptionModel ();
SubscriptionModel(String, String, String, Nullable<SubscriptionState>, SubscriptionPolicies, String)
Initializes a new instance of the SubscriptionModel class.
Declaration
public SubscriptionModel (string id = null, string subscriptionId = null, string displayName = null, Nullable<Microsoft.Azure.Management.Subscription.Models.SubscriptionState> state = null, Microsoft.Azure.Management.Subscription.Models.SubscriptionPolicies subscriptionPolicies = null, string authorizationSource = null);
Parameters
String
id
The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000. |
String
subscriptionId
The subscription ID. |
String
displayName
The subscription display name. |
Nullable<SubscriptionState>
state
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted' |
SubscriptionPolicies
subscriptionPolicies
The subscription policies. |
String
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'. |
Properties
AuthorizationSource
Gets or sets the authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="authorizationSource")]
public string AuthorizationSource { get; set; }
Property Value
String
|
DisplayName
Gets the subscription display name.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="displayName")]
public string DisplayName { get; }
Property Value
String
|
Id
Gets the fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; }
Property Value
String
|
State
Gets the subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="state")]
public Nullable<Microsoft.Azure.Management.Subscription.Models.SubscriptionState> State { get; }
Property Value
Nullable<SubscriptionState>
|
SubscriptionId
Gets the subscription ID.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="subscriptionId")]
public string SubscriptionId { get; }
Property Value
String
|
SubscriptionPolicies
Gets or sets the subscription policies.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="subscriptionPolicies")]
public Microsoft.Azure.Management.Subscription.Models.SubscriptionPolicies SubscriptionPolicies { get; set; }
Property Value
SubscriptionPolicies
|