Interface LocationsClient


  • public interface LocationsClient
    An instance of this class provides access to all the operations defined in LocationsClient.
    • Method Detail

      • listUsageAsync

        com.azure.core.http.rest.PagedFlux<UsageInner> listUsageAsync​(String location)
        Get the usage for a subscription.
        Parameters:
        location - The identifier for the physical azure location.
        Returns:
        the usage for a subscription.
        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)
        Get the usage for a subscription.
        Parameters:
        location - The identifier for the physical azure location.
        Returns:
        the usage for a subscription.
        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.
        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

        com.azure.core.http.rest.PagedFlux<CachedImages> listCachedImagesAsync​(String location)
        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.
        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)
        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.
        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 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.
        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

        com.azure.core.http.rest.PagedFlux<Capabilities> listCapabilitiesAsync​(String 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.
        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)
        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.
        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 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.
        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.