Quotas Interface
public interface Quotas
Resource collection API of Quotas.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Current |
|
abstract
Current |
get(String resourceName, String scope)
Get the quota limit of a resource. |
|
abstract
Current |
getById(String id)
Get the quota limit of a resource. |
|
abstract
Response<Current |
getByIdWithResponse(String id, Context context)
Get the quota limit of a resource. |
|
abstract
Response<Current |
getWithResponse(String resourceName, String scope, Context context)
Get the quota limit of a resource. |
|
abstract
Paged |
list(String scope)
Get a list of current quota limits of all resources for the specified scope. |
|
abstract
Paged |
list(String scope, Context context)
Get a list of current quota limits of all resources for the specified scope. |
Method Details
define
public abstract CurrentQuotaLimitBase.DefinitionStages.Blank define(String name)
Begins definition for a new CurrentQuotaLimitBase resource.
Parameters:
Returns:
get
public abstract CurrentQuotaLimitBase get(String resourceName, String scope)
Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
Parameters:
- SKU name for Microsoft.Compute
- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices For Microsoft.Network PublicIPAddresses.
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/.
This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas,
then it's the target Azure resource URI in the GET operation for the specific resource.
Returns:
getById
public abstract CurrentQuotaLimitBase getById(String id)
Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<CurrentQuotaLimitBase> getByIdWithResponse(String id, Context context)
Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
Parameters:
Returns:
getWithResponse
public abstract Response<CurrentQuotaLimitBase> getWithResponse(String resourceName, String scope, Context context)
Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
Parameters:
- SKU name for Microsoft.Compute
- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices For Microsoft.Network PublicIPAddresses.
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/.
This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas,
then it's the target Azure resource URI in the GET operation for the specific resource.
Returns:
list
public abstract PagedIterable<CurrentQuotaLimitBase> list(String scope)
Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.
Parameters:
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/.
This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas,
then it's the target Azure resource URI in the GET operation for the specific resource.
Returns:
list
public abstract PagedIterable<CurrentQuotaLimitBase> list(String scope, Context context)
Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.
Parameters:
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/.
This is the target Azure resource URI for the List GET operation. If a {resourceName} is added after /quotas,
then it's the target Azure resource URI in the GET operation for the specific resource.
Returns: