Interface Locations
public interface Locations
Resource collection API of Locations.
-
Method Summary
Modifier and TypeMethodDescriptioncheckNameAvailability(String locationName, CheckNameAvailabilityParameters parameters) Checks whether the Batch account name is available in the specified region.com.azure.core.http.rest.Response<CheckNameAvailabilityResult>checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context) Checks whether the Batch account name is available in the specified region.Gets the Batch service quotas for the specified subscription at the given location.com.azure.core.http.rest.Response<BatchLocationQuota>getQuotasWithResponse(String locationName, com.azure.core.util.Context context) Gets the Batch service quotas for the specified subscription at the given location.com.azure.core.http.rest.PagedIterable<SupportedSku>listSupportedCloudServiceSkus(String locationName) Gets the list of Batch supported Cloud Service VM sizes available at the given location.com.azure.core.http.rest.PagedIterable<SupportedSku>listSupportedCloudServiceSkus(String locationName, Integer maxresults, String filter, com.azure.core.util.Context context) Gets the list of Batch supported Cloud Service VM sizes available at the given location.com.azure.core.http.rest.PagedIterable<SupportedSku>listSupportedVirtualMachineSkus(String locationName) Gets the list of Batch supported Virtual Machine VM sizes available at the given location.com.azure.core.http.rest.PagedIterable<SupportedSku>listSupportedVirtualMachineSkus(String locationName, Integer maxresults, String filter, com.azure.core.util.Context context) Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
-
Method Details
-
getQuotasWithResponse
com.azure.core.http.rest.Response<BatchLocationQuota> getQuotasWithResponse(String locationName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getQuotas
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedVirtualMachineSkus
com.azure.core.http.rest.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedVirtualMachineSkus
com.azure.core.http.rest.PagedIterable<SupportedSku> listSupportedVirtualMachineSkus(String locationName, Integer maxresults, String filter, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedCloudServiceSkus
com.azure.core.http.rest.PagedIterable<SupportedSku> listSupportedCloudServiceSkus(String locationName) Gets the list of Batch supported Cloud Service 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 Cloud Service VM sizes available at the given location as paginated response
with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedCloudServiceSkus
com.azure.core.http.rest.PagedIterable<SupportedSku> listSupportedCloudServiceSkus(String locationName, Integer maxresults, String filter, com.azure.core.util.Context context) Gets the list of Batch supported Cloud Service 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 Cloud Service VM sizes available at the given location as paginated response
with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameAvailabilityResult> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-