Interface Regions
-
public interface Regions
Resource collection API of Regions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<RegionContract>
listByService(String resourceGroupName, String serviceName)
Lists all azure regions in which the service exists.com.azure.core.http.rest.PagedIterable<RegionContract>
listByService(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
Lists all azure regions in which the service exists.
-
-
-
Method Detail
-
listByService
com.azure.core.http.rest.PagedIterable<RegionContract> 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<RegionContract> 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.
-
-