SubscriptionPolicy interface

Interface representing a SubscriptionPolicy.

Methods

addUpdatePolicyForTenant(PutTenantPolicyRequestProperties, SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams)

Create or Update Subscription tenant policy for user's tenant.

getPolicyForTenant(SubscriptionPolicyGetPolicyForTenantOptionalParams)

Get the subscription tenant policy for the user's tenant.

listPolicyForTenant(SubscriptionPolicyListPolicyForTenantOptionalParams)

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

body
PutTenantPolicyRequestProperties

Put tenant policy request properties.

Returns

getPolicyForTenant(SubscriptionPolicyGetPolicyForTenantOptionalParams)

Get the subscription tenant policy for the user's tenant.

function getPolicyForTenant(options?: SubscriptionPolicyGetPolicyForTenantOptionalParams): Promise<GetTenantPolicyResponse>

Parameters

options
SubscriptionPolicyGetPolicyForTenantOptionalParams

The options parameters.

Returns

listPolicyForTenant(SubscriptionPolicyListPolicyForTenantOptionalParams)

Get the subscription tenant policy for the user's tenant.

function listPolicyForTenant(options?: SubscriptionPolicyListPolicyForTenantOptionalParams): PagedAsyncIterableIterator<GetTenantPolicyResponse, GetTenantPolicyResponse[], PageSettings>

Parameters

options
SubscriptionPolicyListPolicyForTenantOptionalParams

The options parameters.

Returns