Delen via


ResourceProviderCommonsClient Interface

public interface ResourceProviderCommonsClient

An instance of this class provides access to all the operations defined in ResourceProviderCommonsClient.

Method Summary

Modifier and Type Method and Description
abstract UserSubscriptionQuotaListResultInner getSubscriptionQuota()

Get the number of iot hubs in the subscription Get the number of free and paid iot hubs in the subscription.

abstract Response<UserSubscriptionQuotaListResultInner> getSubscriptionQuotaWithResponse(Context context)

Get the number of iot hubs in the subscription Get the number of free and paid iot hubs in the subscription.

Method Details

getSubscriptionQuota

public abstract UserSubscriptionQuotaListResultInner getSubscriptionQuota()

Get the number of iot hubs in the subscription Get the number of free and paid iot hubs in the subscription.

Returns:

the number of free and paid iot hubs in the subscription.

getSubscriptionQuotaWithResponse

public abstract Response<UserSubscriptionQuotaListResultInner> getSubscriptionQuotaWithResponse(Context context)

Get the number of iot hubs in the subscription 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<T>.

Applies to