Interface RegionsClient
public interface RegionsClient
An instance of this class provides access to all the operations defined in RegionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<PremiumMessagingRegionInner>Gets the available Regions for a given sku.com.azure.core.http.rest.PagedIterable<PremiumMessagingRegionInner>Gets the available Regions for a given sku.com.azure.core.http.rest.PagedFlux<PremiumMessagingRegionInner>listBySkuAsync(String sku) Gets the available Regions for a given sku.
-
Method Details
-
listBySkuAsync
Gets the available Regions for a given sku.- Parameters:
sku- The sku type.- Returns:
- the available Regions for a given sku.
- 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.
-
listBySku
Gets the available Regions for a given sku.- Parameters:
sku- The sku type.- Returns:
- the available Regions for a given sku.
- 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.
-
listBySku
com.azure.core.http.rest.PagedIterable<PremiumMessagingRegionInner> listBySku(String sku, com.azure.core.util.Context context) Gets the available Regions for a given sku.- Parameters:
sku- The sku type.context- The context to associate with this operation.- Returns:
- the available Regions for a given sku.
- 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.
-