Interface RegionsClient


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

      • listByService

        com.azure.core.http.rest.PagedIterable<RegionContractInner> listByService​(String resourceGroupName,
                                                                                  String serviceName)
        Lists all azure regions in which the service exists.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceName - The name of the API Management service.
        Returns:
        lists Regions operation response details 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.
      • listByService

        com.azure.core.http.rest.PagedIterable<RegionContractInner> listByService​(String resourceGroupName,
                                                                                  String serviceName,
                                                                                  com.azure.core.util.Context context)
        Lists all azure regions in which the service exists.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceName - The name of the API Management service.
        context - The context to associate with this operation.
        Returns:
        lists Regions operation response details 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.