SubscriptionPolicy interface
Interface representing a SubscriptionPolicy.
Methods
add |
Create or Update Subscription tenant policy for user's tenant. |
get |
Get the subscription tenant policy for the user's tenant. |
list |
Get the subscription tenant policy for the user's tenant. |
Method Details
addUpdatePolicyForTenant(PutTenantPolicyRequestProperties, SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams)
Create or Update Subscription tenant policy for user's tenant.
function addUpdatePolicyForTenant(body: PutTenantPolicyRequestProperties, options?: SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams): Promise<GetTenantPolicyResponse>
Parameters
Put tenant policy request properties.
The options parameters.
Returns
Promise<GetTenantPolicyResponse>
getPolicyForTenant(SubscriptionPolicyGetPolicyForTenantOptionalParams)
Get the subscription tenant policy for the user's tenant.
function getPolicyForTenant(options?: SubscriptionPolicyGetPolicyForTenantOptionalParams): Promise<GetTenantPolicyResponse>
Parameters
The options parameters.
Returns
Promise<GetTenantPolicyResponse>
listPolicyForTenant(SubscriptionPolicyListPolicyForTenantOptionalParams)
Get the subscription tenant policy for the user's tenant.
function listPolicyForTenant(options?: SubscriptionPolicyListPolicyForTenantOptionalParams): PagedAsyncIterableIterator<GetTenantPolicyResponse, GetTenantPolicyResponse[], PageSettings>
Parameters
The options parameters.