TenantPolicy 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
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.
Blocks the leaving of subscriptions from user's tenant.
Blocks the entering of subscriptions into user's tenant.
List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant.
Applies to
Azure SDK for .NET