Usages class

Class representing a Usages.

Constructors

Usages(DataMigrationServiceClientContext)

Create a Usages.

Methods

list(string, RequestOptionsBase)

This method returns region-specific quotas and resource usage information for the Database Migration Service.

list(string, RequestOptionsBase, ServiceCallback<QuotaList>)
list(string, ServiceCallback<QuotaList>)
listNext(string, RequestOptionsBase)

This method returns region-specific quotas and resource usage information for the Database Migration Service.

listNext(string, RequestOptionsBase, ServiceCallback<QuotaList>)
listNext(string, ServiceCallback<QuotaList>)

Constructor Details

Usages(DataMigrationServiceClientContext)

Create a Usages.

new Usages(client: DataMigrationServiceClientContext)

Parameters

client
DataMigrationServiceClientContext

Reference to the service client.

Method Details

list(string, RequestOptionsBase)

This method returns region-specific quotas and resource usage information for the Database Migration Service.

function list(location: string, options?: RequestOptionsBase): Promise<UsagesListResponse>

Parameters

location

string

The Azure region of the operation

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.UsagesListResponse>

list(string, RequestOptionsBase, ServiceCallback<QuotaList>)

function list(location: string, options: RequestOptionsBase, callback: ServiceCallback<QuotaList>)

Parameters

location

string

The Azure region of the operation

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<QuotaList>

The callback

list(string, ServiceCallback<QuotaList>)

function list(location: string, callback: ServiceCallback<QuotaList>)

Parameters

location

string

The Azure region of the operation

callback

ServiceCallback<QuotaList>

The callback

listNext(string, RequestOptionsBase)

This method returns region-specific quotas and resource usage information for the Database Migration Service.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<UsagesListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.UsagesListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<QuotaList>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<QuotaList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<QuotaList>

The callback

listNext(string, ServiceCallback<QuotaList>)

function listNext(nextPageLink: string, callback: ServiceCallback<QuotaList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<QuotaList>

The callback