ArmSubscriptionModelFactory.TenantPolicyProperties Method
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.
Initializes a new instance of TenantPolicyProperties.
public static Azure.ResourceManager.Subscription.Models.TenantPolicyProperties TenantPolicyProperties (string policyId = default, bool? blockSubscriptionsLeavingTenant = default, bool? blockSubscriptionsIntoTenant = default, System.Collections.Generic.IEnumerable<Guid> exemptedPrincipals = default);
static member TenantPolicyProperties : string * Nullable<bool> * Nullable<bool> * seq<Guid> -> Azure.ResourceManager.Subscription.Models.TenantPolicyProperties
Public Shared Function TenantPolicyProperties (Optional policyId As String = Nothing, Optional blockSubscriptionsLeavingTenant As Nullable(Of Boolean) = Nothing, Optional blockSubscriptionsIntoTenant As Nullable(Of Boolean) = Nothing, Optional exemptedPrincipals As IEnumerable(Of Guid) = Nothing) As TenantPolicyProperties
Parameters
- policyId
- String
Policy Id.
Blocks the leaving of subscriptions from user's tenant.
Blocks the entering of subscriptions into user's tenant.
- exemptedPrincipals
- IEnumerable<Guid>
List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant.
Returns
A new TenantPolicyProperties instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET