TenantPolicy Class

Tenant policy.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
TenantPolicy

Constructor

TenantPolicy(*, block_subscriptions_leaving_tenant: Optional[bool] = None, block_subscriptions_into_tenant: Optional[bool] = None, exempted_principals: Optional[List[str]] = None, **kwargs)

Variables

policy_id
str

Policy Id.

block_subscriptions_leaving_tenant
bool

Blocks the leaving of subscriptions from user's tenant.

block_subscriptions_into_tenant
bool

Blocks the entering of subscriptions into user's tenant.

exempted_principals
list[str]

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