/
quotaRequestStatus.ts
51 lines (49 loc) · 2.28 KB
/
quotaRequestStatus.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import {
QuotaRequestDetails,
QuotaRequestStatusListOptionalParams,
QuotaRequestStatusGetOptionalParams,
QuotaRequestStatusGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a QuotaRequestStatus. */
export interface QuotaRequestStatus {
/**
* 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.
* @param 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.
* @param options The options parameters.
*/
list(
scope: string,
options?: QuotaRequestStatusListOptionalParams
): PagedAsyncIterableIterator<QuotaRequestDetails>;
/**
* 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.
* @param id Quota request ID.
* @param 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.
* @param options The options parameters.
*/
get(
id: string,
scope: string,
options?: QuotaRequestStatusGetOptionalParams
): Promise<QuotaRequestStatusGetResponse>;
}