Skip to content

Commit 259674e

Browse files
ruslanyFredericHeem
authored andcommitted
Add zoneredundancy property (Azure#18582)
* Add zone redundant flag and fix label samples * add mutability
1 parent 5d971ef commit 259674e

9 files changed

+59
-23
lines changed

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironments.json

+8
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,14 @@
788788
"appLogsConfiguration": {
789789
"$ref": "#/definitions/AppLogsConfiguration",
790790
"description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported"
791+
},
792+
"zoneRedundant": {
793+
"description": "Whether or not this Managed Environment is zone-redundant.",
794+
"type": "boolean",
795+
"x-ms-mutability": [
796+
"create",
797+
"read"
798+
]
791799
}
792800
},
793801
"x-ms-client-flatten": true

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json

+14-6
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,13 @@
113113
],
114114
"traffic": [
115115
{
116-
"weight": 100,
117-
"revisionName": "testcontainerApp0-ab1234",
118-
"label": "production"
116+
"weight": 80,
117+
"revisionName": "testcontainerApp0-ab1234"
118+
},
119+
{
120+
"weight": 20,
121+
"revisionName": "testcontainerApp0-ab4321",
122+
"label": "staging"
119123
}
120124
]
121125
},
@@ -190,9 +194,13 @@
190194
"transport": "auto",
191195
"traffic": [
192196
{
193-
"weight": 100,
194-
"revisionName": "testcontainerApp0-ab1234",
195-
"label": "production"
197+
"weight": 80,
198+
"revisionName": "testcontainerApp0-ab1234"
199+
},
200+
{
201+
"weight": 20,
202+
"revisionName": "testcontainerApp0-ab4321",
203+
"label": "staging"
196204
}
197205
]
198206
},

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Get.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@
3737
],
3838
"traffic": [
3939
{
40-
"weight": 100,
41-
"revisionName": "testcontainerApp0-ab1234",
42-
"label": "production"
40+
"weight": 80,
41+
"revisionName": "testcontainerApp0-ab1234"
42+
},
43+
{
44+
"weight": 20,
45+
"revisionName": "testcontainerApp0-ab4321",
46+
"label": "staging"
4347
}
4448
]
4549
},

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListByResourceGroup.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838
],
3939
"traffic": [
4040
{
41-
"weight": 100,
42-
"revisionName": "testcontainerApp0-ab1234",
43-
"label": "production"
41+
"weight": 80,
42+
"revisionName": "testcontainerApp0-ab1234"
43+
},
44+
{
45+
"weight": 20,
46+
"revisionName": "testcontainerApp0-ab4321",
47+
"label": "staging"
4448
}
4549
]
4650
},

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListBySubscription.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@
3737
],
3838
"traffic": [
3939
{
40-
"weight": 100,
41-
"revisionName": "testcontainerApp0-ab1234",
42-
"label": "production"
40+
"weight": 80,
41+
"revisionName": "testcontainerApp0-ab1234"
42+
},
43+
{
44+
"weight": 20,
45+
"revisionName": "testcontainerApp0-ab4321",
46+
"label": "staging"
4347
}
4448
]
4549
},

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_CreateOrUpdate.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"customerId": "string",
1414
"sharedKey": "string"
1515
}
16-
}
16+
},
17+
"zoneRedundant": true
1718
}
1819
}
1920
},
@@ -33,7 +34,8 @@
3334
"logAnalyticsConfiguration": {
3435
"customerId": "string"
3536
}
36-
}
37+
},
38+
"zoneRedundant": true
3739
}
3840
}
3941
},
@@ -52,7 +54,8 @@
5254
"logAnalyticsConfiguration": {
5355
"customerId": "string"
5456
}
55-
}
57+
},
58+
"zoneRedundant": true
5659
}
5760
}
5861
}

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Get.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"provisioningState": "Succeeded",
1818
"deploymentErrors": null,
1919
"defaultDomain": "jlaw-demo1.k4apps.io",
20-
"staticIp": "20.42.33.145"
20+
"staticIp": "20.42.33.145",
21+
"zoneRedundant": true
2122
}
2223
}
2324
}

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_ListByResourceGroup.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"deploymentErrors": null,
2020
"defaultDomain": "jlaw-demo1.k4apps.io",
2121
"staticIp": "20.42.33.145",
22-
"appLogsConfiguration": null
22+
"appLogsConfiguration": null,
23+
"zoneRedundant": true
2324
}
2425
},
2526
{
@@ -33,7 +34,8 @@
3334
"deploymentErrors": null,
3435
"defaultDomain": "demo1.k4apps.io",
3536
"staticIp": "52.142.21.61",
36-
"appLogsConfiguration": null
37+
"appLogsConfiguration": null,
38+
"zoneRedundant": true
3739
}
3840
}
3941
]

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_ListBySubscription.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"deploymentErrors": null,
1919
"defaultDomain": "jlaw-demo1.k4apps.io",
2020
"staticIp": "20.42.33.145",
21-
"appLogsConfiguration": null
21+
"appLogsConfiguration": null,
22+
"zoneRedundant": true
2223
}
2324
},
2425
{
@@ -32,7 +33,8 @@
3233
"deploymentErrors": null,
3334
"defaultDomain": "demo1.k4apps.io",
3435
"staticIp": "52.142.21.61",
35-
"appLogsConfiguration": null
36+
"appLogsConfiguration": null,
37+
"zoneRedundant": true
3638
}
3739
}
3840
]

0 commit comments

Comments
 (0)