Class SubscriptionCreationParameters | Azure SDK for Net

Subscription Creation Parameters required to create a new Azure subscription.

Inheritance

SubscriptionCreationParameters

Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Subscription.dll
Syntax
public class SubscriptionCreationParameters

Constructors

SubscriptionCreationParameters()

Initializes a new instance of the SubscriptionCreationParameters class.

Declaration
public SubscriptionCreationParameters ();

SubscriptionCreationParameters(String, IList<AdPrincipal>, String, IDictionary<String,Object>)

Initializes a new instance of the SubscriptionCreationParameters class.

Declaration
public SubscriptionCreationParameters (string displayName = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Subscription.Models.AdPrincipal> owners = null, string offerType = null, System.Collections.Generic.IDictionary<string,object> additionalParameters = null);
Parameters
String displayName

The display name of the subscription.

IList<AdPrincipal> owners

The list of principals that should be granted Owner access on the subscription. Principals should be of type User, Service Principal or Security Group.

String offerType

The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. Only valid when creating a subscription in a enrollment account scope. Possible values include: 'MS-AZR-0017P', 'MS-AZR-0148P'

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

DisplayName

Gets or sets the display name of the subscription.

Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="displayName")] public string DisplayName { get; set; }
Property Value

OfferType

Gets or sets the offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. Only valid when creating a subscription in a enrollment account scope. Possible values include: 'MS-AZR-0017P', 'MS-AZR-0148P'

Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="offerType")] public string OfferType { get; set; }
Property Value

Owners

Gets or sets the list of principals that should be granted Owner access on the subscription. Principals should be of type User, Service Principal or Security Group.

Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="owners")] public System.Collections.Generic.IList<Microsoft.Azure.Management.Subscription.Models.AdPrincipal> Owners { get; set; }
Property Value

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjoagnKqfqLynwI16sa6qlWOaorrAoJymnZ6pe5TBwayaq6Ggqbawuo5qZWpmY2K9s7HVopywZ5GltnCZyJypqKufm8FvjdmuqZ5mfZa7orPEppynrF6IwqO%2FwqugqayZpLtvmc6dnKWrX4K2pL7OrKafrF52x7a%2BxGeEmqaRnLKusc2tZYytkqiws7XPraCopl6CvKWxy6xljK2SqLCztc%2BtoKimc6eyosDIqKWJmaKWuqbAxKuqZ6Ckork%3D