UsagesClient Interface
public interface UsagesClient
An instance of this class provides access to all the operations defined in UsagesClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Current |
get(String resourceName, String scope)
Get the current usage of a resource. |
|
abstract
Usages |
getWithResponse(String resourceName, String scope, Context context)
Get the current usage of a resource. |
|
abstract
Paged |
list(String scope)
Get a list of current usage for all resources for the scope specified. |
|
abstract
Paged |
list(String scope, Context context)
Get a list of current usage for all resources for the scope specified. |
Method Details
get
public abstract CurrentUsagesBaseInner get(String resourceName, String scope)
Get the current usage of a resource.
Parameters:
- SKU name for Microsoft.Compute
- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices For Microsoft.Network PublicIPAddresses.
Returns:
getWithResponse
public abstract UsagesGetResponse getWithResponse(String resourceName, String scope, Context context)
Get the current usage of a resource.
Parameters:
- SKU name for Microsoft.Compute
- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices For Microsoft.Network PublicIPAddresses.
Returns:
list
public abstract PagedIterable<CurrentUsagesBaseInner> list(String scope)
Get a list of current usage for all resources for the scope specified.
Parameters:
Returns:
list
public abstract PagedIterable<CurrentUsagesBaseInner> list(String scope, Context context)
Get a list of current usage for all resources for the scope specified.
Parameters:
Returns: