Account class

Class representing a Account.

Constructors

Account(BatchServiceClientContext)

Create a Account.

Methods

listPoolNodeCounts(AccountListPoolNodeCountsOptionalParams)

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

listPoolNodeCounts(AccountListPoolNodeCountsOptionalParams, ServiceCallback<PoolNodeCountsListResult>)
listPoolNodeCounts(ServiceCallback<PoolNodeCountsListResult>)
listPoolNodeCountsNext(string, AccountListPoolNodeCountsNextOptionalParams)

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

listPoolNodeCountsNext(string, AccountListPoolNodeCountsNextOptionalParams, ServiceCallback<PoolNodeCountsListResult>)
listPoolNodeCountsNext(string, ServiceCallback<PoolNodeCountsListResult>)
listSupportedImages(AccountListSupportedImagesOptionalParams)
listSupportedImages(AccountListSupportedImagesOptionalParams, ServiceCallback<AccountListSupportedImagesResult>)
listSupportedImages(ServiceCallback<AccountListSupportedImagesResult>)
listSupportedImagesNext(string, AccountListSupportedImagesNextOptionalParams)
listSupportedImagesNext(string, AccountListSupportedImagesNextOptionalParams, ServiceCallback<AccountListSupportedImagesResult>)
listSupportedImagesNext(string, ServiceCallback<AccountListSupportedImagesResult>)

Constructor Details

Account(BatchServiceClientContext)

Create a Account.

new Account(client: BatchServiceClientContext)

Parameters

client
BatchServiceClientContext

Reference to the service client.

Method Details

listPoolNodeCounts(AccountListPoolNodeCountsOptionalParams)

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

function listPoolNodeCounts(options?: AccountListPoolNodeCountsOptionalParams): Promise<AccountListPoolNodeCountsResponse>

Parameters

options
AccountListPoolNodeCountsOptionalParams

The optional parameters

Returns

Promise<Models.AccountListPoolNodeCountsResponse>

listPoolNodeCounts(AccountListPoolNodeCountsOptionalParams, ServiceCallback<PoolNodeCountsListResult>)

function listPoolNodeCounts(options: AccountListPoolNodeCountsOptionalParams, callback: ServiceCallback<PoolNodeCountsListResult>)

Parameters

options
AccountListPoolNodeCountsOptionalParams

The optional parameters

callback

ServiceCallback<PoolNodeCountsListResult>

The callback

listPoolNodeCounts(ServiceCallback<PoolNodeCountsListResult>)

function listPoolNodeCounts(callback: ServiceCallback<PoolNodeCountsListResult>)

Parameters

callback

ServiceCallback<PoolNodeCountsListResult>

The callback

listPoolNodeCountsNext(string, AccountListPoolNodeCountsNextOptionalParams)

Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

function listPoolNodeCountsNext(nextPageLink: string, options?: AccountListPoolNodeCountsNextOptionalParams): Promise<AccountListPoolNodeCountsResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
AccountListPoolNodeCountsNextOptionalParams

The optional parameters

Returns

Promise<Models.AccountListPoolNodeCountsResponse>

listPoolNodeCountsNext(string, AccountListPoolNodeCountsNextOptionalParams, ServiceCallback<PoolNodeCountsListResult>)

function listPoolNodeCountsNext(nextPageLink: string, options: AccountListPoolNodeCountsNextOptionalParams, callback: ServiceCallback<PoolNodeCountsListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
AccountListPoolNodeCountsNextOptionalParams

The optional parameters

callback

ServiceCallback<PoolNodeCountsListResult>

The callback

listPoolNodeCountsNext(string, ServiceCallback<PoolNodeCountsListResult>)

function listPoolNodeCountsNext(nextPageLink: string, callback: ServiceCallback<PoolNodeCountsListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<PoolNodeCountsListResult>

The callback

listSupportedImages(AccountListSupportedImagesOptionalParams)

function listSupportedImages(options?: AccountListSupportedImagesOptionalParams): Promise<AccountListSupportedImagesResponse>

Parameters

options
AccountListSupportedImagesOptionalParams

The optional parameters

Returns

Promise<Models.AccountListSupportedImagesResponse>

listSupportedImages(AccountListSupportedImagesOptionalParams, ServiceCallback<AccountListSupportedImagesResult>)

function listSupportedImages(options: AccountListSupportedImagesOptionalParams, callback: ServiceCallback<AccountListSupportedImagesResult>)

Parameters

options
AccountListSupportedImagesOptionalParams

The optional parameters

listSupportedImages(ServiceCallback<AccountListSupportedImagesResult>)

function listSupportedImages(callback: ServiceCallback<AccountListSupportedImagesResult>)

Parameters

listSupportedImagesNext(string, AccountListSupportedImagesNextOptionalParams)

function listSupportedImagesNext(nextPageLink: string, options?: AccountListSupportedImagesNextOptionalParams): Promise<AccountListSupportedImagesResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
AccountListSupportedImagesNextOptionalParams

The optional parameters

Returns

Promise<Models.AccountListSupportedImagesResponse>

listSupportedImagesNext(string, AccountListSupportedImagesNextOptionalParams, ServiceCallback<AccountListSupportedImagesResult>)

function listSupportedImagesNext(nextPageLink: string, options: AccountListSupportedImagesNextOptionalParams, callback: ServiceCallback<AccountListSupportedImagesResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
AccountListSupportedImagesNextOptionalParams

The optional parameters

listSupportedImagesNext(string, ServiceCallback<AccountListSupportedImagesResult>)

function listSupportedImagesNext(nextPageLink: string, callback: ServiceCallback<AccountListSupportedImagesResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.