Interface ResourceProviderCommonsClient
-
public interface ResourceProviderCommonsClient
An instance of this class provides access to all the operations defined in ResourceProviderCommonsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserSubscriptionQuotaListResultInner
getSubscriptionQuota()
Get the number of free and paid iot hubs in the subscription.com.azure.core.http.rest.Response<UserSubscriptionQuotaListResultInner>
getSubscriptionQuotaWithResponse(com.azure.core.util.Context context)
Get the number of free and paid iot hubs in the subscription.
-
-
-
Method Detail
-
getSubscriptionQuota
UserSubscriptionQuotaListResultInner getSubscriptionQuota()
Get the number of free and paid iot hubs in the subscription.- Returns:
- the number of free and paid iot hubs in the subscription.
- Throws:
ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSubscriptionQuotaWithResponse
com.azure.core.http.rest.Response<UserSubscriptionQuotaListResultInner> getSubscriptionQuotaWithResponse(com.azure.core.util.Context context)
Get the number of free and paid iot hubs in the subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- the number of free and paid iot hubs in the subscription along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-