Interface LocationsClient
public interface LocationsClient
An instance of this class provides access to all the operations defined in LocationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<CachedImages> listCachedImages(String location) Get the list of cached images.com.azure.core.http.rest.PagedIterable<CachedImages> listCachedImages(String location, com.azure.core.util.Context context) Get the list of cached images.com.azure.core.http.rest.PagedFlux<CachedImages> listCachedImagesAsync(String location) Get the list of cached images.com.azure.core.http.rest.PagedIterable<Capabilities> listCapabilities(String location) Get the list of capabilities of the location.com.azure.core.http.rest.PagedIterable<Capabilities> listCapabilities(String location, com.azure.core.util.Context context) Get the list of capabilities of the location.com.azure.core.http.rest.PagedFlux<Capabilities> listCapabilitiesAsync(String location) Get the list of capabilities of the location.com.azure.core.http.rest.PagedIterable<UsageInner> Get the usage for a subscription.com.azure.core.http.rest.PagedIterable<UsageInner> Get the usage for a subscription.com.azure.core.http.rest.PagedFlux<UsageInner> listUsageAsync(String location) Get the usage for a subscription.
-
Method Details
-
listUsageAsync
Get the usage for a subscription.- Parameters:
location- The identifier for the physical azure location.- Returns:
- the usage for a subscription as paginated response with
PagedFlux. - 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.
-
listUsage
Get the usage for a subscription.- Parameters:
location- The identifier for the physical azure location.- Returns:
- the usage for a subscription 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.
-
listUsage
com.azure.core.http.rest.PagedIterable<UsageInner> listUsage(String location, com.azure.core.util.Context context) Get the usage for a subscription.- Parameters:
location- The identifier for the physical azure location.context- The context to associate with this operation.- Returns:
- the usage for a subscription 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.
-
listCachedImagesAsync
Get the list of cached images. Get the list of cached images on specific OS type for a subscription in a region.- Parameters:
location- The identifier for the physical azure location.- Returns:
- the list of cached images on specific OS type for a subscription in a region as paginated response with
PagedFlux. - 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.
-
listCachedImages
Get the list of cached images. Get the list of cached images on specific OS type for a subscription in a region.- Parameters:
location- The identifier for the physical azure location.- Returns:
- the list of cached images on specific OS type for a subscription in a region 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.
-
listCachedImages
com.azure.core.http.rest.PagedIterable<CachedImages> listCachedImages(String location, com.azure.core.util.Context context) Get the list of cached images. Get the list of cached images on specific OS type for a subscription in a region.- Parameters:
location- The identifier for the physical azure location.context- The context to associate with this operation.- Returns:
- the list of cached images on specific OS type for a subscription in a region 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.
-
listCapabilitiesAsync
Get the list of capabilities of the location. Get the list of CPU/memory/GPU capabilities of a region.- Parameters:
location- The identifier for the physical azure location.- Returns:
- the list of CPU/memory/GPU capabilities of a region as paginated response with
PagedFlux. - 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.
-
listCapabilities
Get the list of capabilities of the location. Get the list of CPU/memory/GPU capabilities of a region.- Parameters:
location- The identifier for the physical azure location.- Returns:
- the list of CPU/memory/GPU capabilities of a region 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.
-
listCapabilities
com.azure.core.http.rest.PagedIterable<Capabilities> listCapabilities(String location, com.azure.core.util.Context context) Get the list of capabilities of the location. Get the list of CPU/memory/GPU capabilities of a region.- Parameters:
location- The identifier for the physical azure location.context- The context to associate with this operation.- Returns:
- the list of CPU/memory/GPU capabilities of a region 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.
-