ApplicationOperations interface

Interface representing a ApplicationOperations.

Methods

create(string, string, string, ApplicationCreateOptionalParams)

Adds an application to the specified Batch account.

delete(string, string, string, ApplicationDeleteOptionalParams)

Deletes an application.

get(string, string, string, ApplicationGetOptionalParams)

Gets information about the specified application.

list(string, string, ApplicationListOptionalParams)

Lists all of the applications in the specified account.

update(string, string, string, Application, ApplicationUpdateOptionalParams)

Updates settings for the specified application.

Method Details

create(string, string, string, ApplicationCreateOptionalParams)

Adds an application to the specified Batch account.

function create(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationCreateOptionalParams): Promise<Application>

Parameters

resourceGroupName

string

The name of the resource group that contains the Batch account.

accountName

string

The name of the Batch account.

applicationName

string

The name of the application. This must be unique within the account.

options
ApplicationCreateOptionalParams

The options parameters.

Returns

Promise<Application>

delete(string, string, string, ApplicationDeleteOptionalParams)

Deletes an application.

function delete(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the Batch account.

accountName

string

The name of the Batch account.

applicationName

string

The name of the application. This must be unique within the account.

options
ApplicationDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ApplicationGetOptionalParams)

Gets information about the specified application.

function get(resourceGroupName: string, accountName: string, applicationName: string, options?: ApplicationGetOptionalParams): Promise<Application>

Parameters

resourceGroupName

string

The name of the resource group that contains the Batch account.

accountName

string

The name of the Batch account.

applicationName

string

The name of the application. This must be unique within the account.

options
ApplicationGetOptionalParams

The options parameters.

Returns

Promise<Application>

list(string, string, ApplicationListOptionalParams)

Lists all of the applications in the specified account.

function list(resourceGroupName: string, accountName: string, options?: ApplicationListOptionalParams): PagedAsyncIterableIterator<Application, Application[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the Batch account.

accountName

string

The name of the Batch account.

options
ApplicationListOptionalParams

The options parameters.

Returns

update(string, string, string, Application, ApplicationUpdateOptionalParams)

Updates settings for the specified application.

function update(resourceGroupName: string, accountName: string, applicationName: string, parameters: Application, options?: ApplicationUpdateOptionalParams): Promise<Application>

Parameters

resourceGroupName

string

The name of the resource group that contains the Batch account.

accountName

string

The name of the Batch account.

applicationName

string

The name of the application. This must be unique within the account.

parameters
Application

The parameters for the request.

options
ApplicationUpdateOptionalParams

The options parameters.

Returns

Promise<Application>