Interface Quotas
public interface Quotas
Resource collection API of Quotas.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ResourceQuota>Gets the currently assigned Workspace Quotas based on VMFamily.com.azure.core.http.rest.PagedIterable<ResourceQuota>Gets the currently assigned Workspace Quotas based on VMFamily.update(String location, QuotaUpdateParameters parameters) Update quota for each VM family in workspace.com.azure.core.http.rest.Response<UpdateWorkspaceQuotasResult>updateWithResponse(String location, QuotaUpdateParameters parameters, com.azure.core.util.Context context) Update quota for each VM family in workspace.
-
Method Details
-
updateWithResponse
com.azure.core.http.rest.Response<UpdateWorkspaceQuotasResult> updateWithResponse(String location, QuotaUpdateParameters parameters, com.azure.core.util.Context context) Update quota for each VM family in workspace.- Parameters:
location- The location for update quota is queried.parameters- Quota update parameters.context- The context to associate with this operation.- Returns:
- the result of update workspace quota along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
Update quota for each VM family in workspace.- Parameters:
location- The location for update quota is queried.parameters- Quota update parameters.- Returns:
- the result of update workspace quota.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
Gets the currently assigned Workspace Quotas based on VMFamily.- Parameters:
location- The location for which resource usage is queried.- Returns:
- the currently assigned Workspace Quotas based on VMFamily as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ResourceQuota> list(String location, com.azure.core.util.Context context) Gets the currently assigned Workspace Quotas based on VMFamily.- Parameters:
location- The location for which resource usage is queried.context- The context to associate with this operation.- Returns:
- the currently assigned Workspace Quotas based on VMFamily as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-