Share via


Locations Interface

public interface Locations

Resource collection API of Locations.

Method Summary

Modifier and Type Method and Description
abstract CheckNameAvailabilityResult checkNameAvailability(String locationName, CheckNameAvailabilityParameters parameters)

Checks whether the Batch account name is available in the specified region.

abstract Response<CheckNameAvailabilityResult> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, Context context)

Checks whether the Batch account name is available in the specified region.

abstract BatchLocationQuota getQuotas(String locationName)

Gets the Batch service quotas for the specified subscription at the given location.

abstract Response<BatchLocationQuota> getQuotasWithResponse(String locationName, Context context)

Gets the Batch service quotas for the specified subscription at the given location.

abstract PagedIterable<SupportedSku> listSupportedVirtualMachineSkus(String locationName)

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

abstract PagedIterable<SupportedSku> listSupportedVirtualMachineSkus(String locationName, Integer maxresults, String filter, Context context)

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityResult checkNameAvailability(String locationName, CheckNameAvailabilityParameters parameters)

Checks whether the Batch account name is available in the specified region.

Parameters:

locationName - The desired region for the name check.
parameters - Properties needed to check the availability of a name.

Returns:

the CheckNameAvailability operation response.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResult> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, Context context)

Checks whether the Batch account name is available in the specified region.

Parameters:

locationName - The desired region for the name check.
parameters - Properties needed to check the availability of a name.
context - The context to associate with this operation.

Returns:

the CheckNameAvailability operation response along with Response<T>.

getQuotas

public abstract BatchLocationQuota getQuotas(String locationName)

Gets the Batch service quotas for the specified subscription at the given location.

Parameters:

locationName - The region for which to retrieve Batch service quotas.

Returns:

the Batch service quotas for the specified subscription at the given location.

getQuotasWithResponse

public abstract Response<BatchLocationQuota> getQuotasWithResponse(String locationName, Context context)

Gets the Batch service quotas for the specified subscription at the given location.

Parameters:

locationName - The region for which to retrieve Batch service quotas.
context - The context to associate with this operation.

Returns:

the Batch service quotas for the specified subscription at the given location along with Response<T>.

listSupportedVirtualMachineSkus

public abstract PagedIterable<SupportedSku> listSupportedVirtualMachineSkus(String locationName)

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

Parameters:

locationName - The region for which to retrieve Batch service supported SKUs.

Returns:

the list of Batch supported Virtual Machine VM sizes available at the given location as paginated response with PagedIterable<T>.

listSupportedVirtualMachineSkus

public abstract PagedIterable<SupportedSku> listSupportedVirtualMachineSkus(String locationName, Integer maxresults, String filter, Context context)

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

Parameters:

locationName - The region for which to retrieve Batch service supported SKUs.
maxresults - The maximum number of items to return in the response.
filter - OData filter expression. Valid properties for filtering are "familyName".
context - The context to associate with this operation.

Returns:

the list of Batch supported Virtual Machine VM sizes available at the given location as paginated response with PagedIterable<T>.

Applies to