Interface SubscriptionsClient
-
public interface SubscriptionsClient
An instance of this class provides access to all the operations defined in SubscriptionsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionQuotasListResultInner
listQuotas(String location)
Retrieves the subscription's current quota information in a particular region.com.azure.core.http.rest.Response<SubscriptionQuotasListResultInner>
listQuotasWithResponse(String location, com.azure.core.util.Context context)
Retrieves the subscription's current quota information in a particular region.
-
-
-
Method Detail
-
listQuotas
SubscriptionQuotasListResultInner listQuotas(String location)
Retrieves the subscription's current quota information in a particular region.- Parameters:
location
- The region in which to retrieve the subscription's quota information. You can find out which regions Azure Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/.- Returns:
- result of the GetQuotas operation.
- 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.
-
listQuotasWithResponse
com.azure.core.http.rest.Response<SubscriptionQuotasListResultInner> listQuotasWithResponse(String location, com.azure.core.util.Context context)
Retrieves the subscription's current quota information in a particular region.- Parameters:
location
- The region in which to retrieve the subscription's quota information. You can find out which regions Azure Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/.context
- The context to associate with this operation.- Returns:
- result of the GetQuotas operation.
- 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.
-
-