-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
apimdeployment.json
1639 lines (1639 loc) · 59.3 KB
/
apimdeployment.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": {
"title": "ApiManagementClient",
"description": "Use these REST APIs to manage Azure API Management deployment.",
"version": "2020-06-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/providers/Microsoft.ApiManagement/operations": {
"get": {
"tags": [
"ApiManagementOperations"
],
"description": "Lists all of the available REST API operations of the Microsoft.ApiManagement provider.",
"operationId": "ApiManagementOperations_List",
"x-ms-examples": {
"ApiManagementListOperations": {
"$ref": "./examples/ApiManagementListOperations.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success. The response describes the list of operations.",
"schema": {
"$ref": "#/definitions/OperationListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/skus": {
"get": {
"tags": [
"ApiManagementServiceSkus"
],
"summary": "Gets available SKUs for API Management service",
"description": "Gets all available SKU for a given API Management service",
"operationId": "ApiManagementServiceSkus_ListAvailableServiceSkus",
"x-ms-examples": {
"ApiManagementListSKUs-Dedicated": {
"$ref": "./examples/ApiManagementListSKUs-Dedicated.json"
},
"ApiManagementListSKUs-Consumption": {
"$ref": "./examples/ApiManagementListSKUs-Consumption.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The response describes the list of SKUs.",
"schema": {
"$ref": "#/definitions/ResourceSkuResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_Restore",
"description": "Restores a backup of an API Management service created using the ApiManagementService_Backup operation on the current service. This is a long running operation and could take several minutes to complete.",
"x-ms-examples": {
"ApiManagementRestoreService": {
"$ref": "./examples/ApiManagementRestoreService.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApiManagementServiceBackupRestoreParameters"
},
"description": "Parameters supplied to the Restore API Management service from backup operation."
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Successfully restored the backup onto the API Management service.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"202": {
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_Backup",
"description": "Creates a backup of the API Management service to the given Azure Storage Account. This is long running operation and could take several minutes to complete.",
"x-ms-examples": {
"ApiManagementCreateBackup": {
"$ref": "./examples/ApiManagementCreateBackup.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApiManagementServiceBackupRestoreParameters"
},
"description": "Parameters supplied to the ApiManagementService_Backup operation."
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Successfully backed up the API Management service to the storage account.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"202": {
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}": {
"put": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_CreateOrUpdate",
"description": "Creates or updates an API Management service. This is long running operation and could take several minutes to complete.",
"x-ms-examples": {
"ApiManagementCreateService": {
"$ref": "./examples/ApiManagementCreateService.json"
},
"ApiManagementCreateMultiRegionServiceWithCustomHostname": {
"$ref": "./examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json"
},
"ApiManagementCreateServiceHavingMsi": {
"$ref": "./examples/ApiManagementCreateServiceHavingMsi.json"
},
"ApiManagementCreateServiceWithSystemCertificates": {
"$ref": "./examples/ApiManagementCreateServiceWithSystemCertificates.json"
},
"ApiManagementCreateServiceWithUserAssignedIdentity": {
"$ref": "./examples/ApiManagementCreateServiceWithUserAssignedIdentity.json"
},
"ApiManagementCreateServiceInZones": {
"$ref": "./examples/ApiManagementCreateServiceInZones.json"
},
"ApiManagementUndelete": {
"$ref": "./examples/ApiManagementUndelete.json"
},
"ApiManagementCreateServiceWithCustomHostnameKeyVault": {
"$ref": "./examples/ApiManagementCreateServiceWithCustomHostnameKeyVault.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
},
"description": "Parameters supplied to the CreateOrUpdate API Management service operation."
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The service was successfully set up.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"202": {
"description": "Accepted the configuration change when updating the service."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_Update",
"description": "Updates an existing API Management service.",
"x-ms-examples": {
"ApiManagementUpdateServiceDisableTls10": {
"$ref": "./examples/ApiManagementUpdateServiceDisableTls10.json"
},
"ApiManagementUpdateServicePublisherDetails": {
"$ref": "./examples/ApiManagementUpdateServicePublisherDetails.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApiManagementServiceUpdateParameters"
},
"description": "Parameters supplied to the CreateOrUpdate API Management service operation."
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The service was successfully updated.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"202": {
"description": "The service update request was Accepted."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_Get",
"description": "Gets an API Management service resource description.",
"x-ms-examples": {
"ApiManagementServiceGetService": {
"$ref": "./examples/ApiManagementServiceGetService.json"
},
"ApiManagementServiceGetServiceHavingMsi": {
"$ref": "./examples/ApiManagementServiceGetServiceHavingMsi.json"
},
"ApiManagementServiceGetMultiRegionInternalVnet": {
"$ref": "./examples/ApiManagementServiceGetMultiRegionInternalVnet.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Successfully got the API Management Service Resource.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
}
},
"delete": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_Delete",
"description": "Deletes an existing API Management service.",
"x-ms-examples": {
"ApiManagementServiceDeleteService": {
"$ref": "./examples/ApiManagementServiceDeleteService.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Service was successfully deleted."
},
"202": {
"description": "The service delete request was Accepted.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"204": {
"description": "The service does not exist."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service": {
"get": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_ListByResourceGroup",
"description": "List all API Management services within a resource group.",
"x-ms-examples": {
"ApiManagementListServiceBySubscriptionAndResourceGroup": {
"$ref": "./examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The API Management service list.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service": {
"get": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_List",
"description": "Lists all API Management services within an Azure subscription.",
"x-ms-examples": {
"ApiManagementListServiceBySubscription": {
"$ref": "./examples/ApiManagementListServiceBySubscription.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The API Management service list.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_GetSsoToken",
"description": "Gets the Single-Sign-On token for the API Management Service which is valid for 5 Minutes.",
"x-ms-examples": {
"ApiManagementServiceGetSsoToken": {
"$ref": "./examples/ApiManagementServiceGetSsoToken.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK if successful with the SSO Redirect URI.",
"schema": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ApiManagementServiceGetSsoTokenResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_CheckNameAvailability",
"description": "Checks availability and correctness of a name for an API Management service.",
"x-ms-examples": {
"ApiManagementServiceCheckNameAvailability": {
"$ref": "./examples/ApiManagementServiceCheckNameAvailability.json"
}
},
"parameters": [
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApiManagementServiceCheckNameAvailabilityParameters"
},
"description": "Parameters supplied to the CheckNameAvailability operation."
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The result of check name availability.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceNameAvailabilityResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/getDomainOwnershipIdentifier": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_GetDomainOwnershipIdentifier",
"description": "Get the custom domain ownership identifier for an API Management service.",
"x-ms-examples": {
"ApiManagementServiceGetDomainOwnershipIdentifier": {
"$ref": "./examples/ApiManagementServiceGetDomainOwnershipIdentifier.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The result of getting domain ownership identifier.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceGetDomainOwnershipIdentifierResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_ApplyNetworkConfigurationUpdates",
"description": "Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated network settings.",
"x-ms-examples": {
"ApiManagementApplyNetworkConfigurationUpdates": {
"$ref": "./examples/ApiManagementApplyNetworkConfigurationUpdates.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": false,
"schema": {
"$ref": "#/definitions/ApiManagementServiceApplyNetworkConfigurationParameters"
},
"description": "Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, all the regions in which the Api Management service is deployed will be updated sequentially without incurring downtime in the region."
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"202": {
"description": "Accepted: Location header contains the URL where the status of the long running operation can be checked."
},
"200": {
"description": "Network configuration updates were successfully applied on the Api Management service.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
}
},
"definitions": {
"ResourceSkuResults": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ResourceSkuResult"
},
"description": "The list of skus available for the service."
},
"nextLink": {
"type": "string",
"description": "The uri to fetch the next page of API Management service Skus."
}
},
"required": [
"value"
],
"description": "The API Management service SKUs operation response."
},
"ResourceSkuResult": {
"properties": {
"resourceType": {
"readOnly": true,
"type": "string",
"description": "The type of resource the SKU applies to."
},
"sku": {
"$ref": "#/definitions/ResourceSku",
"readOnly": true,
"description": "Specifies API Management SKU."
},
"capacity": {
"$ref": "#/definitions/ResourceSkuCapacity",
"readOnly": true,
"description": "Specifies the number of API Management units."
}
},
"description": "Describes an available API Management service SKU."
},
"ResourceSkuCapacity": {
"properties": {
"minimum": {
"type": "integer",
"readOnly": true,
"format": "int32",
"description": "The minimum capacity."
},
"maximum": {
"type": "integer",
"readOnly": true,
"format": "int32",
"description": "The maximum capacity that can be set."
},
"default": {
"type": "integer",
"readOnly": true,
"format": "int32",
"description": "The default capacity."
},
"scaleType": {
"type": "string",
"readOnly": true,
"description": "The scale type applicable to the sku.",
"enum": [
"automatic",
"manual",
"none"
],
"x-ms-enum": {
"name": "ResourceSkuCapacityScaleType",
"modelAsString": true,
"values": [
{
"value": "automatic",
"description": "Supported scale type automatic."
},
{
"value": "manual",
"description": "Supported scale type manual."
},
{
"value": "none",
"description": "Scaling not supported."
}
]
}
}
},
"description": "Describes scaling information of a SKU."
},
"ResourceSku": {
"properties": {
"name": {
"type": "string",
"description": "Name of the Sku.",
"externalDocs": {
"url": "https://azure.microsoft.com/en-us/pricing/details/api-management/"
},
"enum": [
"Developer",
"Standard",
"Premium",
"Basic",
"Consumption",
"Isolated"
],
"x-ms-enum": {
"name": "SkuType",
"modelAsString": true,
"values": [
{
"value": "Developer",
"description": "Developer SKU of Api Management."
},
{
"value": "Standard",
"description": "Standard SKU of Api Management."
},
{
"value": "Premium",
"description": "Premium SKU of Api Management."
},
{
"value": "Basic",
"description": "Basic SKU of Api Management."
},
{
"value": "Consumption",
"description": "Consumption SKU of Api Management."
},
{
"value": "Isolated",
"description": "Isolated SKU of Api Management."
}
]
}
}
},
"description": "Describes an available API Management SKU."
},
"CertificateInformation": {
"properties": {
"expiry": {
"type": "string",
"format": "date-time",
"description": "Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard."
},
"thumbprint": {
"type": "string",
"description": "Thumbprint of the certificate."
},
"subject": {
"type": "string",
"description": "Subject of the certificate."
}
},
"required": [
"expiry",
"thumbprint",
"subject"
],
"description": "SSL certificate information."
},
"CertificateConfiguration": {
"properties": {
"encodedCertificate": {
"type": "string",
"description": "Base64 Encoded certificate."
},
"certificatePassword": {
"type": "string",
"description": "Certificate Password."
},
"storeName": {
"description": "The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.",
"type": "string",
"enum": [
"CertificateAuthority",
"Root"
]
},
"certificate": {
"$ref": "#/definitions/CertificateInformation",
"description": "Certificate information."
}
},
"required": [
"storeName"
],
"description": "Certificate configuration which consist of non-trusted intermediates and root certificates."
},
"HostnameConfiguration": {
"properties": {
"type": {
"type": "string",
"description": "Hostname type.",
"enum": [
"Proxy",
"Portal",
"Management",
"Scm",
"DeveloperPortal"
],
"x-ms-enum": {
"name": "HostnameType",
"modelAsString": true
}
},
"hostName": {
"type": "string",
"description": "Hostname to configure on the Api Management service."
},
"keyVaultId": {
"type": "string",
"description": "Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version is provided, auto-update of ssl certificate will not work. This requires Api Management service to be configured with aka.ms/apimmsi. The secret should be of type *application/x-pkcs12*"
},
"identityClientId": {
"type": "string",
"description": "System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate."
},
"encodedCertificate": {
"type": "string",
"description": "Base64 Encoded certificate."
},
"certificatePassword": {
"type": "string",
"description": "Certificate Password."
},
"defaultSslBinding": {
"type": "boolean",
"description": "Specify true to setup the certificate associated with this Hostname as the Default SSL Certificate. If a client does not send the SNI header, then this will be the certificate that will be challenged. The property is useful if a service has multiple custom hostname enabled and it needs to decide on the default ssl certificate. The setting only applied to Proxy Hostname Type.",
"default": false
},
"negotiateClientCertificate": {
"type": "boolean",
"description": "Specify true to always negotiate client certificate on the hostname. Default Value is false.",
"default": false
},
"certificate": {
"$ref": "#/definitions/CertificateInformation",
"description": "Certificate information."
}
},
"required": [
"type",
"hostName"
],
"description": "Custom hostname configuration."
},
"VirtualNetworkConfiguration": {
"properties": {
"vnetid": {
"readOnly": true,
"type": "string",
"description": "The virtual network ID. This is typically a GUID. Expect a null GUID by default."
},
"subnetname": {
"readOnly": true,
"type": "string",
"description": "The name of the subnet."
},
"subnetResourceId": {
"type": "string",
"pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$",
"description": "The full resource ID of a subnet in a virtual network to deploy the API Management service in."
}
},
"description": "Configuration of a virtual network to which API Management service is deployed."
},
"AdditionalLocation": {
"properties": {
"location": {
"type": "string",
"description": "The location name of the additional region among Azure Data center regions."
},
"sku": {
"$ref": "#/definitions/ApiManagementServiceSkuProperties",
"description": "SKU properties of the API Management service."
},