SubscriptionModel Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SubscriptionModel() |
Initializes a new instance of the SubscriptionModel class. |
SubscriptionModel(String, String, String, Nullable<SubscriptionState>, SubscriptionPolicies, String) |
Initializes a new instance of the SubscriptionModel class. |
SubscriptionModel()
Initializes a new instance of the SubscriptionModel class.
public SubscriptionModel ();
Public Sub New ()
Applies to
SubscriptionModel(String, String, String, Nullable<SubscriptionState>, SubscriptionPolicies, String)
Initializes a new instance of the SubscriptionModel class.
public SubscriptionModel (string id = default, string subscriptionId = default, string displayName = default, Microsoft.Azure.Management.Subscription.Models.SubscriptionState? state = default, Microsoft.Azure.Management.Subscription.Models.SubscriptionPolicies subscriptionPolicies = default, string authorizationSource = default);
new Microsoft.Azure.Management.Subscription.Models.SubscriptionModel : string * string * string * Nullable<Microsoft.Azure.Management.Subscription.Models.SubscriptionState> * Microsoft.Azure.Management.Subscription.Models.SubscriptionPolicies * string -> Microsoft.Azure.Management.Subscription.Models.SubscriptionModel
Public Sub New (Optional id As String = Nothing, Optional subscriptionId As String = Nothing, Optional displayName As String = Nothing, Optional state As Nullable(Of SubscriptionState) = Nothing, Optional subscriptionPolicies As SubscriptionPolicies = Nothing, Optional authorizationSource As String = Nothing)
Parameters
- id
- String
The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
- subscriptionId
- String
The subscription ID.
- displayName
- String
The subscription display name.
- state
- Nullable<SubscriptionState>
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.
- authorizationSource
- String
The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'.