Share via


Applications Interface

public interface Applications

Resource collection API of Applications.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Application resource.

abstract void delete(String resourceGroupName, String accountName, String applicationName)

Deletes an application.

abstract void deleteById(String id)

Deletes an application.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes an application.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String applicationName, Context context)

Deletes an application.

abstract Application get(String resourceGroupName, String accountName, String applicationName)

Gets information about the specified application.

abstract Application getById(String id)

Gets information about the specified application.

abstract Response<Application> getByIdWithResponse(String id, Context context)

Gets information about the specified application.

abstract Response<Application> getWithResponse(String resourceGroupName, String accountName, String applicationName, Context context)

Gets information about the specified application.

abstract PagedIterable<Application> list(String resourceGroupName, String accountName)

Lists all of the applications in the specified account.

abstract PagedIterable<Application> list(String resourceGroupName, String accountName, Integer maxresults, Context context)

Lists all of the applications in the specified account.

Method Details

define

public abstract Application.DefinitionStages.Blank define(String name)

Begins definition for a new Application resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Application definition.

delete

public abstract void delete(String resourceGroupName, String accountName, String applicationName)

Deletes an application.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
applicationName - The name of the application. This must be unique within the account.

deleteById

public abstract void deleteById(String id)

Deletes an application.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes an application.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String applicationName, Context context)

Deletes an application.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
applicationName - The name of the application. This must be unique within the account.
context - The context to associate with this operation.

Returns:

get

public abstract Application get(String resourceGroupName, String accountName, String applicationName)

Gets information about the specified application.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
applicationName - The name of the application. This must be unique within the account.

Returns:

information about the specified application.

getById

public abstract Application getById(String id)

Gets information about the specified application.

Parameters:

id - the resource ID.

Returns:

information about the specified application along with Response<T>.

getByIdWithResponse

public abstract Response<Application> getByIdWithResponse(String id, Context context)

Gets information about the specified application.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

information about the specified application along with Response<T>.

getWithResponse

public abstract Response<Application> getWithResponse(String resourceGroupName, String accountName, String applicationName, Context context)

Gets information about the specified application.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
applicationName - The name of the application. This must be unique within the account.
context - The context to associate with this operation.

Returns:

information about the specified application along with Response<T>.

list

public abstract PagedIterable<Application> list(String resourceGroupName, String accountName)

Lists all of the applications in the specified account.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.

Returns:

the result of performing list applications as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<Application> list(String resourceGroupName, String accountName, Integer maxresults, Context context)

Lists all of the applications in the specified account.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
maxresults - The maximum number of items to return in the response.
context - The context to associate with this operation.

Returns:

the result of performing list applications as paginated response with PagedIterable<T>.

Applies to