Quotas interface

Interface representing a Quotas.

Methods

list(string, QuotasListOptionalParams)

Gets the currently assigned Workspace Quotas based on VMFamily.

update(string, QuotaUpdateParameters, QuotasUpdateOptionalParams)

Update quota for each VM family in workspace.

Method Details

list(string, QuotasListOptionalParams)

Gets the currently assigned Workspace Quotas based on VMFamily.

function list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator<ResourceQuota, ResourceQuota[], PageSettings>

Parameters

location

string

The location for which resource usage is queried.

options
QuotasListOptionalParams

The options parameters.

Returns

update(string, QuotaUpdateParameters, QuotasUpdateOptionalParams)

Update quota for each VM family in workspace.

function update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise<UpdateWorkspaceQuotasResult>

Parameters

location

string

The location for update quota is queried.

parameters
QuotaUpdateParameters

Quota update parameters.

options
QuotasUpdateOptionalParams

The options parameters.

Returns