Interface ResourceProviderCommons
-
public interface ResourceProviderCommons
Resource collection API of ResourceProviderCommons.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserSubscriptionQuotaListResult
getSubscriptionQuota()
Get the number of free and paid iot hubs in the subscription.com.azure.core.http.rest.Response<UserSubscriptionQuotaListResult>
getSubscriptionQuotaWithResponse(com.azure.core.util.Context context)
Get the number of free and paid iot hubs in the subscription.
-
-
-
Method Detail
-
getSubscriptionQuota
UserSubscriptionQuotaListResult 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<UserSubscriptionQuotaListResult> 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.
-
-