-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathquota.json
1290 lines (1290 loc) · 41.7 KB
/
quota.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"version": "2021-03-15-preview",
"title": "Azure Quota Extension API",
"description": "Microsoft Azure Quota Resource Provider"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "Impersonate your user account."
},
"type": "oauth2",
"description": "Azure Active Directory OAuth 2.0 authorization"
}
},
"paths": {
"/{scope}/providers/Microsoft.Quota/usages/{resourceName}": {
"get": {
"tags": [
"UsagesInformation"
],
"description": "Get the current usage of a resource.",
"operationId": "Usages_Get",
"x-ms-examples": {
"Quotas_UsagesRequest_ForNetwork": {
"$ref": "./examples/getNetworkOneSkuUsages.json"
},
"Quotas_UsagesRequest_ForCompute": {
"$ref": "./examples/getComputeOneSkuUsages.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ResourceNameInParameters"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
}
],
"responses": {
"200": {
"description": "OK. The usage information will be returned in the response.",
"schema": {
"$ref": "#/definitions/CurrentUsagesBase"
},
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
}
}
},
"/{scope}/providers/Microsoft.Quota/usages": {
"get": {
"tags": [
"UsagesInformation"
],
"description": "Get a list of current usage for all resources for the scope specified.",
"operationId": "Usages_List",
"x-ms-examples": {
"Quotas_listUsagesForNetwork": {
"$ref": "./examples/getNetworkUsages.json"
},
"Quotas_listUsagesForCompute": {
"$ref": "./examples/getComputeUsages.json"
},
"Quotas_listUsagesMachineLearningServices": {
"$ref": "./examples/getMachineLearningServicesUsages.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
}
],
"responses": {
"200": {
"description": "OK. Usage information will be returned in the response with pagination.",
"schema": {
"$ref": "#/definitions/UsagesLimits"
},
"headers": {
"ETag": {
"description": "Current entity state version. It should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/{scope}/providers/Microsoft.Quota/quotas/{resourceName}": {
"get": {
"tags": [
"QuotaInformation"
],
"description": "Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.",
"operationId": "Quota_Get",
"x-ms-examples": {
"Quotas_UsagesRequest_ForNetwork": {
"$ref": "./examples/getNetworkOneSkuQuotaLimit.json"
},
"Quotas_Get_Request_ForCompute": {
"$ref": "./examples/getComputeOneSkuQuotaLimit.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ResourceNameInParameters"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
}
],
"responses": {
"200": {
"description": "OK. The quota information will be returned in the response with pagination.",
"schema": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
},
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
}
},
"put": {
"tags": [
"QuotaInformation"
],
"description": "Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:\n1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.",
"operationId": "Quota_CreateOrUpdate",
"x-ms-examples": {
"Quotas_PutRequest_ForNetwork": {
"$ref": "./examples/putNetworkOneSkuQuotaRequest.json"
},
"Quotas_Put_Request_ForCompute": {
"$ref": "./examples/putComputeOneSkuQuotaRequest.json"
},
"Quotas_Request_ForMachineLearningServices_LowPriorityResource": {
"$ref": "./examples/putMachineLearningServicesQuotaRequestLowPriority.json"
},
"Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource": {
"$ref": "./examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
},
"parameters": [
{
"$ref": "#/parameters/ResourceNameInParameters"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
},
{
"name": "createQuotaRequest",
"in": "body",
"description": "Quota request payload.",
"required": true,
"schema": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
}
],
"responses": {
"200": {
"description": "OK. Returns the quota request details.",
"schema": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
},
"202": {
"description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** obtained in the response of a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
}
},
"patch": {
"tags": [
"QuotaInformation"
],
"description": "Update the quota limit for a specific resource to the specified value:\n1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670).\n2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.",
"operationId": "Quota_Update",
"x-ms-examples": {
"Quotas_Request_PatchForNetwork": {
"$ref": "./examples/patchNetworkOneSkuQuotaRequest.json"
},
"Quotas_Request_PatchForCompute": {
"$ref": "./examples/patchComputeQuotaRequest.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "original-uri"
},
"parameters": [
{
"$ref": "#/parameters/ResourceNameInParameters"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
},
{
"name": "createQuotaRequest",
"in": "body",
"description": "Quota requests payload.",
"required": true,
"schema": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
}
],
"responses": {
"200": {
"description": "OK. Returns the quota request details.",
"schema": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
},
"202": {
"description": "The request is accepted and is being processed. To check the status for this request, use the value for the quota request ID **id** in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
}
}
},
"/{scope}/providers/Microsoft.Quota/quotas": {
"get": {
"tags": [
"QuotaInformation"
],
"description": "Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.",
"operationId": "Quota_List",
"x-ms-examples": {
"Quotas_listQuotaLimitsForNetwork": {
"$ref": "./examples/getNetworkQuotaLimits.json"
},
"Quotas_listQuotaLimitsForCompute": {
"$ref": "./examples/getComputeQuotaLimits.json"
},
"Quotas_listQuotaLimitsMachineLearningServices": {
"$ref": "./examples/getMachineLearningServicesQuotaLimits.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
}
],
"responses": {
"200": {
"description": "OK. Quota information will be returned in the response with pagination.",
"schema": {
"$ref": "#/definitions/QuotaLimits"
},
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/{scope}/providers/Microsoft.Quota/quotaRequests/{id}": {
"get": {
"tags": [
"QuotaRequests"
],
"x-ms-examples": {
"QuotaRequestStatus": {
"$ref": "./examples/getQuotaRequestStatusById.json"
},
"QuotaRequestInProgress": {
"$ref": "./examples/getQuotaRequestStatusInProgress.json"
},
"QuotaRequestFailed": {
"$ref": "./examples/getQuotaRequestStatusFailed.json"
}
},
"description": "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.",
"operationId": "QuotaRequestStatus_Get",
"parameters": [
{
"$ref": "#/parameters/RequestIdInParameters"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
}
],
"responses": {
"200": {
"description": "OK. Returning the status for the quota request.",
"schema": {
"$ref": "#/definitions/QuotaRequestDetails"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
}
}
},
"/{scope}/providers/Microsoft.Quota/quotaRequests": {
"get": {
"tags": [
"QuotaRequests"
],
"x-ms-examples": {
"QuotaRequestHistory": {
"$ref": "./examples/getQuotaRequestsHistory.json"
}
},
"description": "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.",
"operationId": "QuotaRequestStatus_List",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ScopeInPath"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
"description": "| Field | Supported operators \n|---------------------|------------------------\n\r\n|requestSubmitTime | ge, le, eq, gt, lt\n |provisioningState eq {QuotaRequestState}\n |resourceName eq {resourceName}\n"
},
{
"$ref": "#/parameters/TopQueryParameter"
},
{
"$ref": "#/parameters/SkipTokenParameter"
}
],
"responses": {
"200": {
"description": "OK. Sending quota request status and details.",
"schema": {
"$ref": "#/definitions/QuotaRequestDetailsList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/providers/Microsoft.Quota/operations": {
"get": {
"summary": "GET quota operations.",
"description": "List all the operations supported by the Microsoft.Quota resource provider.",
"operationId": "QuotaOperation_List",
"x-ms-examples": {
"GetOperations": {
"$ref": "./examples/GetOperations.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"tags": [
"Operations"
],
"responses": {
"200": {
"description": "List all the operations.",
"schema": {
"$ref": "#/definitions/OperationList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ExceptionResponse"
}
}
}
}
}
},
"definitions": {
"OperationList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/OperationResponse"
}
},
"nextLink": {
"type": "string",
"description": "URL to get the next page of items."
}
}
},
"OperationResponse": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"display": {
"$ref": "#/definitions/OperationDisplay"
},
"origin": {
"type": "string"
}
}
},
"OperationDisplay": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "Provider name."
},
"resource": {
"type": "string",
"description": "Resource name."
},
"operation": {
"type": "string",
"description": "Operation name."
},
"description": {
"type": "string",
"description": "Operation description."
}
}
},
"CommonResourceProperties": {
"type": "object",
"description": "Resource properties.",
"properties": {
"id": {
"description": "Resource ID",
"type": "string",
"readOnly": true
},
"name": {
"description": "Resource name.",
"type": "string",
"readOnly": true
},
"type": {
"type": "string",
"readOnly": true,
"description": "Resource type. Example: \"Microsoft.Quota/quotas\""
}
}
},
"CurrentUsagesBase": {
"type": "object",
"description": "Resource usage.",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "The resource ID.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The resource type.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The resource name.",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Usage properties for the specified resource.",
"$ref": "#/definitions/UsagesProperties"
}
}
},
"UsagesProperties": {
"description": "Usage properties for the specified resource.",
"type": "object",
"properties": {
"usages": {
"description": "The quota limit properties for this resource.",
"$ref": "#/definitions/UsagesObject"
},
"unit": {
"description": " The units for the quota usage, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Resource name provided by the resource provider. Use this property name when requesting quota.",
"$ref": "#/definitions/ResourceName"
},
"resourceType": {
"description": "The name of the resource type.",
"$ref": "#/definitions/ResourceTypesName"
},
"quotaPeriod": {
"description": "The time period for the summary of the quota usage values. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because it is not relevant for all resources such as compute.",
"type": "string",
"readOnly": true
},
"isQuotaApplicable": {
"description": "States if quota can be requested for this resource.",
"type": "boolean",
"readOnly": true
},
"properties": {
"description": "Additional properties for the specific resource provider.",
"type": "object"
}
}
},
"UsagesLimits": {
"type": "object",
"description": "Quota limits.",
"properties": {
"value": {
"description": "List of quota limits.",
"type": "array",
"items": {
"$ref": "#/definitions/CurrentUsagesBase"
}
},
"nextLink": {
"description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.",
"type": "string"
}
}
},
"CurrentQuotaLimitBase": {
"type": "object",
"description": "Quota limit.",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "The resource ID.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The resource type.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The resource name.",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Quota properties for the specified resource, based on the API called, Quotas or Usages.",
"$ref": "#/definitions/QuotaProperties"
}
}
},
"QuotaProperties": {
"description": "Quota properties for the specified resource.",
"type": "object",
"properties": {
"limit": {
"description": "Resource quota limit properties.",
"$ref": "#/definitions/LimitJsonObject"
},
"unit": {
"description": " The quota units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Resource name provided by the resource provider. Use this property name when requesting quota.",
"$ref": "#/definitions/ResourceName"
},
"resourceType": {
"description": "Resource type name.",
"$ref": "#/definitions/ResourceTypesName"
},
"quotaPeriod": {
"description": "The time period over which the quota usage values are summarized. For example:\r\n*P1D (per one day)\n*PT1M (per one minute)\n*PT1S (per one second).\r\nThis parameter is optional because, for some resources like compute, the period is irrelevant.",
"type": "string",
"readOnly": true
},
"isQuotaApplicable": {
"description": "States if quota can be requested for this resource.",
"type": "boolean",
"readOnly": true
},
"properties": {
"description": "Additional properties for the specific resource provider.",
"type": "object"
}
}
},
"ResourceName": {
"type": "object",
"description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name.",
"properties": {
"value": {
"description": "Resource name.",
"type": "string",
"readOnly": false
},
"localizedValue": {
"description": "Resource display name.",
"type": "string",
"readOnly": true
}
}
},
"QuotaLimits": {
"type": "object",
"description": "Quota limits.",
"properties": {
"value": {
"description": "List of quota limits.",
"type": "array",
"items": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
},
"nextLink": {
"description": "The URI used to fetch the next page of quota limits. When there are no more pages, this string is null.",
"type": "string"
}
}
},
"QuotaLimitsResponse": {
"type": "object",
"description": "Quota limits request response.",
"properties": {
"value": {
"description": "List of quota limits with the quota request status.",
"type": "array",
"items": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
},
"nextLink": {
"description": "The URI used to fetch the next page of quota limits. When there are no more pages, this is null.",
"type": "string"
}
}
},
"CreateGenericQuotaRequestParameters": {
"type": "object",
"description": "Quota change requests information.",
"properties": {
"value": {
"description": "Quota change requests.",
"type": "array",
"items": {
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
}
}
},
"SubRequest": {
"type": "object",
"description": "Request property.",
"properties": {
"name": {
"description": "Resource name.",
"$ref": "#/definitions/ResourceName"
},
"resourceType": {
"description": "Resource type for which the quota properties were requested.",
"type": "string",
"readOnly": true
},
"unit": {
"description": " Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.",
"type": "string"
},
"provisioningState": {
"description": "The quota request status.",
"$ref": "#/definitions/QuotaRequestState"
},
"message": {
"description": "User-friendly status message.",
"type": "string",
"readOnly": true
},
"subRequestId": {
"description": "Quota request ID.",
"type": "string",
"readOnly": true
},
"limit": {
"description": "Resource quota limit properties.",
"$ref": "#/definitions/LimitJsonObject"
}
}
},
"LimitObjectTypes": {
"description": "The limit object type.",
"enum": [
"LimitValue"
],
"type": "string",
"x-ms-enum": {
"name": "limitType",
"modelAsString": true
}
},
"LimitTypes": {
"description": "The quota or usages limit types.",
"enum": [
"Independent",
"Shared"
],
"type": "string",
"x-ms-enum": {
"name": "quotaLimitTypes",
"modelAsString": true
}
},
"LimitJsonObject": {
"description": "LimitJson abstract class.",
"required": [
"limitObjectType"
],
"type": "object",
"properties": {
"limitObjectType": {
"$ref": "#/definitions/LimitObjectTypes"
}
},
"discriminator": "limitObjectType"
},
"UsagesTypes": {
"description": "The quota or usages limit types.",
"enum": [
"Individual",
"Combined"
],
"type": "string",
"x-ms-enum": {
"name": "usagesTypes",
"modelAsString": true
}
},
"UsagesObject": {
"description": "The resource usages value.",
"type": "object",
"properties": {
"value": {
"type": "integer",
"format": "int32",
"description": "The usages value."
},
"usagesType": {
"$ref": "#/definitions/UsagesTypes"
}
},
"required": [
"value"
]
},
"LimitObject": {
"description": "The resource quota limit value.",
"type": "object",
"x-ms-discriminator-value": "LimitValue",
"allOf": [
{
"$ref": "#/definitions/LimitJsonObject"
}
],
"properties": {
"value": {
"type": "integer",
"format": "int32",
"description": "The quota/limit value"
},
"limitType": {
"$ref": "#/definitions/LimitTypes"
}
},
"required": [
"value"
]
},
"QuotaRequestOneResourceSubmitResponse": {
"description": "Quota request response.",
"type": "object",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "Quota request ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The name of the quota request.",
"type": "string",
"readOnly": true
},
"type": {
"type": "string",
"readOnly": true,
"description": "Resource type. \"Microsoft.Quota/ServiceLimitRequests\""
},
"properties": {
"description": "Quota request details.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/quotaRequestOneResourceProperties"
}
}
},
"QuotaRequestSubmitResponse": {
"description": "Quota request response.",
"type": "object",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "Quota request ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Quota request name.",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Quota request details.",
"type": "object",
"$ref": "#/definitions/QuotaRequestProperties"
},
"type": {
"type": "string",
"readOnly": true,
"description": "Resource type. \"Microsoft.Quota/quotas\"."
}
}
},
"QuotaRequestSubmitResponse202": {
"description": "The quota request response with the quota request ID.",
"type": "object",
"properties": {
"id": {
"description": "The quota request ID. To check the request status, use the **id** value in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Operation ID.",
"type": "string",
"readOnly": true
},
"type": {
"description": "Resource type.",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Quota request status.",
"$ref": "#/definitions/QuotaRequestStatusDetails",
"x-ms-client-flatten": true
}
}
},
"QuotaRequestStatusDetails": {
"description": "Quota request status details.",
"type": "object",
"properties": {
"provisioningState": {
"description": "Quota request status.",
"$ref": "#/definitions/QuotaRequestState",
"readOnly": true
},
"message": {
"description": "User-friendly message.",
"type": "string",
"readOnly": true
},
"limit": {
"description": "Resource quota limit properties.",
"$ref": "#/definitions/LimitObject"
},
"unit": {
"description": " The quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.",
"type": "string",
"readOnly": false
},
"name": {
"description": "Resource name provided by the resource provider. Use this property name when requesting quota.",
"$ref": "#/definitions/ResourceName"
},
"resourceType": {
"description": "Resource type name.",
"$ref": "#/definitions/ResourceTypesName"