Interface QuotasClient
-
public interface QuotasClient
An instance of this class provides access to all the operations defined in QuotasClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<ResourceQuotaInner>
list(String location)
Gets the currently assigned Workspace Quotas based on VMFamily.com.azure.core.http.rest.PagedIterable<ResourceQuotaInner>
list(String location, com.azure.core.util.Context context)
Gets the currently assigned Workspace Quotas based on VMFamily.UpdateWorkspaceQuotasResultInner
update(String location, QuotaUpdateParameters parameters)
Update quota for each VM family in workspace.com.azure.core.http.rest.Response<UpdateWorkspaceQuotasResultInner>
updateWithResponse(String location, QuotaUpdateParameters parameters, com.azure.core.util.Context context)
Update quota for each VM family in workspace.
-
-
-
Method Detail
-
update
UpdateWorkspaceQuotasResultInner 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<UpdateWorkspaceQuotasResultInner> 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<ResourceQuotaInner> 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<ResourceQuotaInner> 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.
-
-