Interface Quotas
-
public interface Quotas
Resource collection API of Quotas.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<ResourceQuota>
list(String location)
Gets the currently assigned Workspace Quotas based on VMFamily.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.UpdateWorkspaceQuotasResult
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 Detail
-
update
UpdateWorkspaceQuotasResult update(String location, QuotaUpdateParameters parameters)
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.
-
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.
-
list
com.azure.core.http.rest.PagedIterable<ResourceQuota> list(String location)
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.
-
-