TenantPolicy Constructors

Definition

Overloads

TenantPolicy()

Initializes a new instance of the TenantPolicy class.

TenantPolicy(String, Nullable<Boolean>, Nullable<Boolean>, IList<Nullable<Guid>>)

Initializes a new instance of the TenantPolicy class.

TenantPolicy()

Initializes a new instance of the TenantPolicy class.

public TenantPolicy ();
Public Sub New ()

Applies to

TenantPolicy(String, Nullable<Boolean>, Nullable<Boolean>, IList<Nullable<Guid>>)

Initializes a new instance of the TenantPolicy class.

public TenantPolicy (string policyId = default, bool? blockSubscriptionsLeavingTenant = default, bool? blockSubscriptionsIntoTenant = default, System.Collections.Generic.IList<Guid?> exemptedPrincipals = default);
new Microsoft.Azure.Management.Subscription.Models.TenantPolicy : string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Nullable<Guid>> -> Microsoft.Azure.Management.Subscription.Models.TenantPolicy
Public Sub New (Optional policyId As String = Nothing, Optional blockSubscriptionsLeavingTenant As Nullable(Of Boolean) = Nothing, Optional blockSubscriptionsIntoTenant As Nullable(Of Boolean) = Nothing, Optional exemptedPrincipals As IList(Of Nullable(Of Guid)) = Nothing)

Parameters

policyId
String

Policy Id.

blockSubscriptionsLeavingTenant
Nullable<Boolean>

Blocks the leaving of subscriptions from user's tenant.

blockSubscriptionsIntoTenant
Nullable<Boolean>

Blocks the entering of subscriptions into user's tenant.

exemptedPrincipals
IList<Nullable<Guid>>

List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant.

Applies to