ApplicationsClient Interface

public interface ApplicationsClient

An instance of this class provides access to all the operations defined in ApplicationsClient.

Method Summary

Modifier and Type Method and Description
abstract ApplicationInner create(String resourceGroupName, String accountName, String applicationName)

Adds an application to the specified Batch account.

abstract Response<ApplicationInner> createWithResponse(String resourceGroupName, String accountName, String applicationName, ApplicationInner parameters, Context context)

Adds an application to the specified Batch account.

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

Deletes an application.

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

Deletes an application.

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

Gets information about the specified application.

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

Gets information about the specified application.

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

Lists all of the applications in the specified account.

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

Lists all of the applications in the specified account.

abstract ApplicationInner update(String resourceGroupName, String accountName, String applicationName, ApplicationInner parameters)

Updates settings for the specified application.

abstract Response<ApplicationInner> updateWithResponse(String resourceGroupName, String accountName, String applicationName, ApplicationInner parameters, Context context)

Updates settings for the specified application.

Method Details

create

public abstract ApplicationInner create(String resourceGroupName, String accountName, String applicationName)

Adds an application to the specified Batch account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
applicationName - The name of the application. This must be unique within the account.

Returns:

contains information about an application in a Batch account.

createWithResponse

public abstract Response<ApplicationInner> createWithResponse(String resourceGroupName, String accountName, String applicationName, ApplicationInner parameters, Context context)

Adds an application to the specified Batch account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
applicationName - The name of the application. This must be unique within the account.
parameters - The parameters for the request.
context - The context to associate with this operation.

Returns:

contains information about an application in a Batch account along with Response<T>.

delete

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

Deletes an application.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
applicationName - The name of the application. This must be unique within the account.

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. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
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 ApplicationInner get(String resourceGroupName, String accountName, String applicationName)

Gets information about the specified application.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
applicationName - The name of the application. This must be unique within the account.

Returns:

information about the specified application.

getWithResponse

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

Gets information about the specified application.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
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<ApplicationInner> list(String resourceGroupName, String accountName)

Lists all of the applications in the specified account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.

Returns:

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

list

public abstract PagedIterable<ApplicationInner> 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. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
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>.

update

public abstract ApplicationInner update(String resourceGroupName, String accountName, String applicationName, ApplicationInner parameters)

Updates settings for the specified application.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
applicationName - The name of the application. This must be unique within the account.
parameters - The parameters for the request.

Returns:

contains information about an application in a Batch account.

updateWithResponse

public abstract Response<ApplicationInner> updateWithResponse(String resourceGroupName, String accountName, String applicationName, ApplicationInner parameters, Context context)

Updates settings for the specified application.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
applicationName - The name of the application. This must be unique within the account.
parameters - The parameters for the request.
context - The context to associate with this operation.

Returns:

contains information about an application in a Batch account along with Response<T>.

Applies to