Class ModernSubscriptionCreationParameters
The parameters required to create a new subscription.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Subscription.dll
Syntax
public class ModernSubscriptionCreationParameters
Constructors
ModernSubscriptionCreationParameters()
Initializes a new instance of the ModernSubscriptionCreationParameters class.
Declaration
public ModernSubscriptionCreationParameters ();
ModernSubscriptionCreationParameters(String, String, String, String, AdPrincipal, String, IDictionary<String,Object>)
Initializes a new instance of the ModernSubscriptionCreationParameters class.
Declaration
public ModernSubscriptionCreationParameters (string displayName, string billingProfileId, string skuId, string costCenter = null, Microsoft.Azure.Management.Subscription.Models.AdPrincipal owner = null, string managementGroupId = null, System.Collections.Generic.IDictionary<string,object> additionalParameters = null);
Parameters
String
displayName
The friendly name of the subscription. |
String
billingProfileId
The ARM ID of the billing profile for which you want to create the subscription. |
String
skuId
The SKU ID of the Azure plan. Azure plan determines the pricing and service-level agreement of the subscription. Use 001 for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest. |
String
costCenter
If set, the cost center will show up on the Azure usage and charges file. |
AdPrincipal
owner
If specified, the AD principal will get owner access to the subscription, along with the user who is performing the create subscription operation |
String
managementGroupId
The identifier of the management group to which this subscription will be associated. |
IDictionary<String,Object>
additionalParameters
Additional, untyped parameters to support custom subscription creation scenarios. |
Properties
AdditionalParameters
Gets or sets additional, untyped parameters to support custom subscription creation scenarios.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="additionalParameters")]
public System.Collections.Generic.IDictionary<string,object> AdditionalParameters { get; set; }
Property Value
IDictionary<String,Object>
|
BillingProfileId
Gets or sets the ARM ID of the billing profile for which you want to create the subscription.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="billingProfileId")]
public string BillingProfileId { get; set; }
Property Value
String
|
CostCenter
Gets or sets if set, the cost center will show up on the Azure usage and charges file.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="costCenter")]
public string CostCenter { get; set; }
Property Value
String
|
DisplayName
Gets or sets the friendly name of the subscription.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="displayName")]
public string DisplayName { get; set; }
Property Value
String
|
ManagementGroupId
Gets or sets the identifier of the management group to which this subscription will be associated.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="managementGroupId")]
public string ManagementGroupId { get; set; }
Property Value
String
|
Owner
Gets or sets if specified, the AD principal will get owner access to the subscription, along with the user who is performing the create subscription operation
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="owner")]
public Microsoft.Azure.Management.Subscription.Models.AdPrincipal Owner { get; set; }
Property Value
AdPrincipal
|
SkuId
Gets or sets the SKU ID of the Azure plan. Azure plan determines the pricing and service-level agreement of the subscription. Use 001 for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="skuId")]
public string SkuId { get; set; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |