-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
ResourceProvider.json
1364 lines (1364 loc) · 40.8 KB
/
ResourceProvider.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": "2020-10-01",
"title": " API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.Web/publishingUsers/web": {
"get": {
"summary": "Gets publishing user",
"description": "Gets publishing user",
"operationId": "GetPublishingUser",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/User"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
},
"put": {
"summary": "Updates publishing user",
"description": "Updates publishing user",
"operationId": "UpdatePublishingUser",
"parameters": [
{
"name": "userDetails",
"in": "body",
"description": "Details of publishing user",
"required": true,
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/User"
}
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/User"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/providers/Microsoft.Web/sourcecontrols": {
"get": {
"summary": "Gets the source controls available for Azure websites.",
"description": "Gets the source controls available for Azure websites.",
"operationId": "ListSourceControls",
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SourceControlCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": {
"get": {
"summary": "Gets source control token",
"description": "Gets source control token",
"operationId": "GetSourceControl",
"parameters": [
{
"name": "sourceControlType",
"in": "path",
"description": "Type of source control",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SourceControl"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
},
"put": {
"summary": "Updates source control token",
"description": "Updates source control token",
"operationId": "UpdateSourceControl",
"parameters": [
{
"name": "sourceControlType",
"in": "path",
"description": "Type of source control",
"required": true,
"type": "string"
},
{
"name": "requestMessage",
"in": "body",
"description": "Source control token information",
"required": true,
"schema": {
"$ref": "#/definitions/SourceControl"
}
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SourceControl"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters": {
"get": {
"summary": "Gets a list of meters for a given location.",
"description": "Gets a list of meters for a given location.",
"operationId": "ListBillingMeters",
"parameters": [
{
"name": "billingLocation",
"in": "query",
"description": "Azure Location of billable resource",
"type": "string"
},
{
"name": "osType",
"in": "query",
"description": "App Service OS type meters used for",
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/BillingMeterCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": {
"post": {
"summary": "Check if a resource name is available.",
"description": "Check if a resource name is available.",
"operationId": "CheckNameAvailability",
"parameters": [
{
"name": "request",
"in": "body",
"description": "Name availability request.",
"required": true,
"schema": {
"$ref": "#/definitions/ResourceNameAvailabilityRequest"
},
"x-ms-client-flatten": true
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ResourceNameAvailability"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": {
"get": {
"summary": "Gets list of available geo regions plus ministamps",
"description": "Gets list of available geo regions plus ministamps",
"operationId": "GetSubscriptionDeploymentLocations",
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/DeploymentLocations"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": {
"get": {
"summary": "Get a list of available geographical regions.",
"description": "Get a list of available geographical regions.",
"operationId": "ListGeoRegions",
"parameters": [
{
"name": "sku",
"in": "query",
"description": "Name of SKU used to filter the regions.",
"type": "string",
"enum": [
"Free",
"Shared",
"Basic",
"Standard",
"Premium",
"Dynamic",
"Isolated",
"PremiumV2",
"ElasticPremium",
"ElasticIsolated"
],
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true
}
},
{
"name": "linuxWorkersEnabled",
"in": "query",
"description": "Specify <code>true</code> if you want to filter to only regions that support Linux workers.",
"type": "boolean"
},
{
"name": "xenonWorkersEnabled",
"in": "query",
"description": "Specify <code>true</code> if you want to filter to only regions that support Xenon workers.",
"type": "boolean"
},
{
"name": "linuxDynamicWorkersEnabled",
"in": "query",
"description": "Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers.",
"type": "boolean"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/GeoRegionCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName": {
"post": {
"summary": "List all apps that are assigned to a hostname.",
"description": "List all apps that are assigned to a hostname.",
"operationId": "ListSiteIdentifiersAssignedToHostName",
"parameters": [
{
"name": "nameIdentifier",
"in": "body",
"description": "Hostname information.",
"required": true,
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/NameIdentifier"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/IdentifierCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": {
"get": {
"summary": "List all premier add-on offers.",
"description": "List all premier add-on offers.",
"operationId": "ListPremierAddOnOffers",
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/PremierAddOnOfferCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus": {
"get": {
"summary": "List all SKUs.",
"description": "List all SKUs.",
"operationId": "ListSkus",
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SkuInfos"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": {
"post": {
"summary": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.",
"description": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.",
"operationId": "VerifyHostingEnvironmentVnet",
"parameters": [
{
"name": "parameters",
"in": "body",
"description": "VNET information",
"required": true,
"schema": {
"$ref": "#/definitions/VnetParameters"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VnetValidationFailureDetails"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"VerifyHostingEnvironmentVnet": {
"$ref": "./examples/VerifyHostingEnvironmentVnet.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": {
"post": {
"summary": "Move resources between resource groups.",
"description": "Move resources between resource groups.",
"operationId": "Move",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "moveResourceEnvelope",
"in": "body",
"description": "Object that represents the resource to move.",
"required": true,
"schema": {
"$ref": "#/definitions/CsmMoveResourceEnvelope"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"204": {
"description": "No Content"
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate": {
"post": {
"summary": "Validate if a resource can be created.",
"description": "Validate if a resource can be created.",
"operationId": "Validate",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "validateRequest",
"in": "body",
"description": "Request with the resources to validate.",
"required": true,
"schema": {
"$ref": "#/definitions/ValidateRequest"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ValidateResponse"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources": {
"post": {
"summary": "Validate whether a resource can be moved.",
"description": "Validate whether a resource can be moved.",
"operationId": "ValidateMove",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "moveResourceEnvelope",
"in": "body",
"description": "Object that represents the resource to move.",
"required": true,
"schema": {
"$ref": "#/definitions/CsmMoveResourceEnvelope"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"204": {
"description": "No Content"
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
}
},
"definitions": {
"AppserviceGithubToken": {
"description": "Github access token for Appservice CLI github integration.",
"type": "object",
"properties": {
"accessToken": {
"description": "Github access token for Appservice CLI github integration",
"type": "string"
},
"scope": {
"description": "Scope of the github access token",
"type": "string"
},
"tokenType": {
"description": "token type",
"type": "string"
},
"gotToken": {
"description": "True if valid github token received, False otherwise",
"type": "boolean"
},
"errorMessage": {
"description": "Error message if unable to get token",
"type": "string"
}
}
},
"AppserviceGithubTokenRequest": {
"description": "Appservice Github token request content.",
"required": [
"code",
"state"
],
"type": "object",
"properties": {
"code": {
"description": "Code string to exchange for Github Access token",
"type": "string",
"x-ms-secret": true
},
"state": {
"description": "State string used for verification.",
"type": "string"
}
}
},
"BillingMeter": {
"description": "App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.",
"type": "object",
"allOf": [
{
"$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource"
}
],
"properties": {
"properties": {
"description": "BillingMeter resource specific properties",
"properties": {
"meterId": {
"description": "Meter GUID onboarded in Commerce",
"type": "string"
},
"billingLocation": {
"description": "Azure Location of billable resource",
"type": "string"
},
"shortName": {
"description": "Short Name from App Service Azure pricing Page",
"type": "string"
},
"friendlyName": {
"description": "Friendly name of the meter",
"type": "string"
},
"resourceType": {
"description": "App Service ResourceType meter used for",
"type": "string"
},
"osType": {
"description": "App Service OS type meter used for",
"type": "string"
}
},
"x-ms-client-flatten": true
}
}
},
"BillingMeterCollection": {
"description": "Collection of Billing Meters",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of resources.",
"type": "array",
"items": {
"$ref": "#/definitions/BillingMeter"
}
},
"nextLink": {
"description": "Link to next page of resources.",
"type": "string",
"readOnly": true
}
}
},
"CsmMoveResourceEnvelope": {
"description": "Object with a list of the resources that need to be moved and the resource group they should be moved to.",
"type": "object",
"properties": {
"targetResourceGroup": {
"maxLength": 90,
"minLength": 1,
"pattern": " ^[-\\w\\._\\(\\)]+[^\\.]$",
"type": "string"
},
"resources": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"DeploymentLocations": {
"description": "List of available locations (regions or App Service Environments) for\ndeployment of App Service resources.",
"type": "object",
"properties": {
"locations": {
"description": "Available regions.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoRegion"
}
},
"hostingEnvironments": {
"description": "Available App Service Environments with full descriptions of the environments.",
"type": "array",
"items": {
"$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment"
}
},
"hostingEnvironmentDeploymentInfos": {
"description": "Available App Service Environments with basic information.",
"type": "array",
"items": {
"$ref": "#/definitions/HostingEnvironmentDeploymentInfo"
}
}
}
},
"GeoRegion": {
"description": "Geographical region.",
"type": "object",
"allOf": [
{
"$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource"
}
],
"properties": {
"properties": {
"description": "GeoRegion resource specific properties",
"properties": {
"description": {
"description": "Region description.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "Display name for region.",
"type": "string",
"readOnly": true
},
"orgDomain": {
"description": "Display name for region.",
"type": "string",
"readOnly": true
}
},
"x-ms-client-flatten": true
}
}
},
"GeoRegionCollection": {
"description": "Collection of geographical regions.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of resources.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoRegion"
}
},
"nextLink": {
"description": "Link to next page of resources.",
"type": "string",
"readOnly": true
}
}
},
"GlobalCsmSkuDescription": {
"description": "A Global SKU Description.",
"type": "object",
"properties": {
"name": {
"description": "Name of the resource SKU.",
"type": "string"
},
"tier": {
"description": "Service Tier of the resource SKU.",
"type": "string"
},
"size": {
"description": "Size specifier of the resource SKU.",
"type": "string"
},
"family": {
"description": "Family code of the resource SKU.",
"type": "string"
},
"capacity": {
"$ref": "./CommonDefinitions.json#/definitions/SkuCapacity",
"description": "Min, max, and default scale values of the SKU."
},
"locations": {
"description": "Locations of the SKU.",
"type": "array",
"items": {
"type": "string"
}
},
"capabilities": {
"description": "Capabilities of the SKU, e.g., is traffic manager enabled?",
"type": "array",
"items": {
"$ref": "./CommonDefinitions.json#/definitions/Capability"
}
}
}
},
"HostingEnvironmentDeploymentInfo": {
"description": "Information needed to create resources on an App Service Environment.",
"type": "object",
"properties": {
"name": {
"description": "Name of the App Service Environment.",
"type": "string"
},
"location": {
"description": "Location of the App Service Environment.",
"type": "string"
}
}
},
"PremierAddOnOffer": {
"description": "Premier add-on offer.",
"type": "object",
"allOf": [
{
"$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource"
}
],
"properties": {
"properties": {
"description": "PremierAddOnOffer resource specific properties",
"properties": {
"sku": {
"description": "Premier add on SKU.",
"type": "string"
},
"product": {
"description": "Premier add on offer Product.",
"type": "string"
},
"vendor": {
"description": "Premier add on offer Vendor.",
"type": "string"
},
"promoCodeRequired": {
"description": "<code>true</code> if promotion code is required; otherwise, <code>false</code>.",
"type": "boolean"
},
"quota": {
"format": "int32",
"description": "Premier add on offer Quota.",
"type": "integer"
},
"webHostingPlanRestrictions": {
"description": "App Service plans this offer is restricted to.",
"enum": [
"None",
"Free",
"Shared",
"Basic",
"Standard",
"Premium"
],
"type": "string",
"x-ms-enum": {
"name": "AppServicePlanRestrictions",
"modelAsString": false
}
},
"privacyPolicyUrl": {
"description": "Privacy policy URL.",
"type": "string"
},
"legalTermsUrl": {
"description": "Legal terms URL.",
"type": "string"
},
"marketplacePublisher": {
"description": "Marketplace publisher.",
"type": "string"
},
"marketplaceOffer": {
"description": "Marketplace offer.",
"type": "string"
}
},
"x-ms-client-flatten": true
}
}
},
"PremierAddOnOfferCollection": {
"description": "Collection of premier add-on offers.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of resources.",
"type": "array",
"items": {
"$ref": "#/definitions/PremierAddOnOffer"
}
},
"nextLink": {
"description": "Link to next page of resources.",
"type": "string",
"readOnly": true
}
}
},
"ResourceNameAvailability": {
"description": "Information regarding availability of a resource name.",
"type": "object",
"properties": {
"nameAvailable": {
"description": "<code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.",
"type": "boolean"
},
"reason": {
"description": "<code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable.",
"enum": [
"Invalid",
"AlreadyExists"
],
"type": "string",
"x-ms-enum": {
"name": "InAvailabilityReasonType",
"modelAsString": true
}
},
"message": {
"description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.",
"type": "string"
}