You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[S360 fix ]add default value to containerAPP model (#20931)
* add default value to containerAPP model
* add default value for 2022-06-01-preview
* python fix
* python fix
Co-authored-by: Nan Jiang <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Copy file name to clipboardExpand all lines: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -485,7 +485,8 @@
485
485
"x-ms-enum": {
486
486
"name": "ActiveRevisionsMode",
487
487
"modelAsString": true
488
-
}
488
+
},
489
+
"default": "Single"
489
490
},
490
491
"ingress": {
491
492
"$ref": "#/definitions/Ingress",
@@ -636,7 +637,8 @@
636
637
"properties": {
637
638
"enabled": {
638
639
"description": "Boolean indicating if the Dapr side car is enabled",
639
-
"type": "boolean"
640
+
"type": "boolean",
641
+
"default": false
640
642
},
641
643
"appId": {
642
644
"description": "Dapr application identifier",
@@ -652,7 +654,8 @@
652
654
"x-ms-enum": {
653
655
"name": "appProtocol",
654
656
"modelAsString": true
655
-
}
657
+
},
658
+
"default": "http"
656
659
},
657
660
"appPort": {
658
661
"format": "int32",
@@ -725,7 +728,8 @@
725
728
"x-ms-enum": {
726
729
"name": "IngressTransportMethod",
727
730
"modelAsString": true
728
-
}
731
+
},
732
+
"default": "auto"
729
733
},
730
734
"traffic": {
731
735
"description": "Traffic weights for app's revisions",
@@ -749,7 +753,8 @@
749
753
},
750
754
"allowInsecure": {
751
755
"description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections",
752
-
"type": "boolean"
756
+
"type": "boolean",
757
+
"default": "false"
753
758
},
754
759
"ipSecurityRestrictions": {
755
760
"description": "Rules to restrict incoming IP address.",
Copy file name to clipboardExpand all lines: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -432,6 +432,7 @@
432
432
"Single"
433
433
],
434
434
"type": "string",
435
+
"default": "Single",
435
436
"x-ms-enum": {
436
437
"name": "ActiveRevisionsMode",
437
438
"modelAsString": true
@@ -561,7 +562,8 @@
561
562
"properties": {
562
563
"enabled": {
563
564
"description": "Boolean indicating if the Dapr side car is enabled",
564
-
"type": "boolean"
565
+
"type": "boolean",
566
+
"default": false
565
567
},
566
568
"appId": {
567
569
"description": "Dapr application identifier",
@@ -574,6 +576,7 @@
574
576
"grpc"
575
577
],
576
578
"type": "string",
579
+
"default": "http",
577
580
"x-ms-enum": {
578
581
"name": "appProtocol",
579
582
"modelAsString": true
@@ -616,7 +619,8 @@
616
619
"x-ms-enum": {
617
620
"name": "IngressTransportMethod",
618
621
"modelAsString": true
619
-
}
622
+
},
623
+
"default": "auto"
620
624
},
621
625
"traffic": {
622
626
"description": "Traffic weights for app's revisions",
@@ -640,7 +644,8 @@
640
644
},
641
645
"allowInsecure": {
642
646
"description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections",
0 commit comments