/// <summary>
 /// Initializes a new instance of the SubscriptionInner class.
 /// </summary>
 /// <param name="id">Gets or sets the ID of the resource
 /// (/subscriptions/SubscriptionId).</param>
 /// <param name="subscriptionId">Gets or sets the subscription
 /// Id.</param>
 /// <param name="displayName">Gets or sets the subscription display
 /// name</param>
 /// <param name="state">Gets or sets the subscription state</param>
 /// <param name="subscriptionPolicies">Gets or sets the subscription
 /// policies.</param>
 public SubscriptionInner(string id = default(string), string subscriptionId = default(string), string displayName = default(string), string state = default(string), SubscriptionPolicies subscriptionPolicies = default(SubscriptionPolicies))
 {
     Id                   = id;
     SubscriptionId       = subscriptionId;
     DisplayName          = displayName;
     State                = state;
     SubscriptionPolicies = subscriptionPolicies;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SubscriptionInner class.
 /// </summary>
 /// <param name="id">The fully qualified ID for the subscription. For
 /// example,
 /// /subscriptions/00000000-0000-0000-0000-000000000000.</param>
 /// <param name="subscriptionId">The subscription ID.</param>
 /// <param name="displayName">The subscription display name.</param>
 /// <param name="state">The subscription state. Possible values are
 /// Enabled, Warned, PastDue, Disabled, and Deleted. Possible values
 /// include: 'Enabled', 'Warned', 'PastDue', 'Disabled',
 /// 'Deleted'</param>
 /// <param name="subscriptionPolicies">The subscription
 /// policies.</param>
 /// <param name="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'.</param>
 public SubscriptionInner(string id = default(string), string subscriptionId = default(string), string displayName = default(string), SubscriptionState?state = default(SubscriptionState?), SubscriptionPolicies subscriptionPolicies = default(SubscriptionPolicies), string authorizationSource = default(string))
 {
     Id                   = id;
     SubscriptionId       = subscriptionId;
     DisplayName          = displayName;
     State                = state;
     SubscriptionPolicies = subscriptionPolicies;
     AuthorizationSource  = authorizationSource;
     CustomInit();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the SubscriptionInner class.
 /// </summary>
 /// <param name="id">The fully qualified ID for the subscription. For
 /// example,
 /// /subscriptions/00000000-0000-0000-0000-000000000000.</param>
 /// <param name="subscriptionId">The subscription ID.</param>
 /// <param name="displayName">The subscription display name.</param>
 /// <param name="tenantId">The subscription tenant ID.</param>
 /// <param name="state">The subscription state. Possible values are
 /// Enabled, Warned, PastDue, Disabled, and Deleted. Possible values
 /// include: 'Enabled', 'Warned', 'PastDue', 'Disabled',
 /// 'Deleted'</param>
 /// <param name="subscriptionPolicies">The subscription
 /// policies.</param>
 /// <param name="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'.</param>
 /// <param name="managedByTenants">An array containing the tenants
 /// managing the subscription.</param>
 public SubscriptionInner(string id = default(string), string subscriptionId = default(string), string displayName = default(string), string tenantId = default(string), SubscriptionState?state = default(SubscriptionState?), SubscriptionPolicies subscriptionPolicies = default(SubscriptionPolicies), string authorizationSource = default(string), IList <ManagedByTenant> managedByTenants = default(IList <ManagedByTenant>))
 {
     Id                   = id;
     SubscriptionId       = subscriptionId;
     DisplayName          = displayName;
     TenantId             = tenantId;
     State                = state;
     SubscriptionPolicies = subscriptionPolicies;
     AuthorizationSource  = authorizationSource;
     ManagedByTenants     = managedByTenants;
     CustomInit();
 }