Interface QuotaRequestStatusClient


  • public interface QuotaRequestStatusClient
    An instance of this class provides access to all the operations defined in QuotaRequestStatusClient.
    • Method Detail

      • get

        QuotaRequestDetailsInner get​(String id,
                                     String scope)
        Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.
        Parameters:
        id - Quota request ID.
        scope - The target Azure resource URI. For example, `/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:
        the quota request details and status by quota request ID for the resources of the resource provider at a specific location.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<QuotaRequestDetailsInner> getWithResponse​(String id,
                                                                                    String scope,
                                                                                    com.azure.core.util.Context context)
        Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation.
        Parameters:
        id - Quota request ID.
        scope - The target Azure resource URI. For example, `/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.
        context - The context to associate with this operation.
        Returns:
        the quota request details and status by quota request ID for the resources of the resource provider at a specific location.
        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<QuotaRequestDetailsInner> list​(String scope)
        For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.
        Parameters:
        scope - The target Azure resource URI. For example, `/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:
        quota request information.
        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<QuotaRequestDetailsInner> list​(String scope,
                                                                              String filter,
                                                                              Integer top,
                                                                              String skiptoken,
                                                                              com.azure.core.util.Context context)
        For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests.
        Parameters:
        scope - The target Azure resource URI. For example, `/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.
        filter - | Field | Supported operators |---------------------|------------------------

        |requestSubmitTime | ge, le, eq, gt, lt |provisioningState eq {QuotaRequestState} |resourceName eq {resourceName}.

        top - Number of records to return.
        skiptoken - The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a previous response contains a **nextLink** element, its value includes a **skiptoken** parameter that specifies a starting point to use for subsequent calls.
        context - The context to associate with this operation.
        Returns:
        quota request information.
        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.