Skip to content

Commit 25602ee

Browse files
a-santamariaAlfredo Santamaria Gomez
authored andcommitted
Service Fabric Managed Clusters - API version 2023-11-01-preview (#26178)
* remove default on eviction type * copy from 2023-09-01-preview * update specs with version 2023-11-01-preview --------- Co-authored-by: Alfredo Santamaria Gomez <[email protected]>
1 parent e92ad5e commit 25602ee

File tree

67 files changed

+11718
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+11718
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-11-01-preview",
13+
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-11-01-preview"
14+
}
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview",
8+
"parameters": {
9+
"upgradeDomainName": "UD1"
10+
}
11+
},
12+
"responses": {
13+
"202": {
14+
"headers": {
15+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-11-01-preview",
16+
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-11-01-preview"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-11-01-preview",
13+
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-11-01-preview"
14+
}
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Retry-After": "10",
13+
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2023-11-01-preview"
14+
}
15+
},
16+
"204": {},
17+
"200": {}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {},
12+
"body": {
13+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
14+
"location": "eastus",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
16+
"name": "myApp",
17+
"tags": {},
18+
"properties": {
19+
"provisioningState": "Updating",
20+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
21+
"parameters": {
22+
"param1": "value1"
23+
},
24+
"upgradePolicy": {
25+
"applicationHealthPolicy": {
26+
"considerWarningAsError": true,
27+
"maxPercentUnhealthyDeployedApplications": 0,
28+
"defaultServiceTypeHealthPolicy": {
29+
"maxPercentUnhealthyServices": 0,
30+
"maxPercentUnhealthyPartitionsPerService": 0,
31+
"maxPercentUnhealthyReplicasPerPartition": 0
32+
},
33+
"serviceTypeHealthPolicyMap": {
34+
"service1": {
35+
"maxPercentUnhealthyReplicasPerPartition": 30,
36+
"maxPercentUnhealthyPartitionsPerService": 30,
37+
"maxPercentUnhealthyServices": 30
38+
}
39+
}
40+
},
41+
"rollingUpgradeMonitoringPolicy": {
42+
"failureAction": "Rollback",
43+
"healthCheckRetryTimeout": "00:10:00",
44+
"healthCheckWaitDuration": "00:02:00",
45+
"healthCheckStableDuration": "00:05:00",
46+
"upgradeDomainTimeout": "00:15:00",
47+
"upgradeTimeout": "01:00:00"
48+
},
49+
"upgradeReplicaSetCheckTimeout": 3600,
50+
"forceRestart": false,
51+
"instanceCloseDelayDuration": 600,
52+
"upgradeMode": "UnmonitoredAuto",
53+
"recreateApplication": false
54+
}
55+
}
56+
}
57+
}
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"api-version": "2023-11-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"value": [
13+
{
14+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
16+
"name": "myApp",
17+
"properties": {
18+
"provisioningState": "Updating",
19+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0"
20+
}
21+
}
22+
],
23+
"nextLink": ""
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview",
8+
"parameters": {
9+
"tags": {
10+
"a": "b"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"headers": {},
17+
"body": {
18+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
19+
"location": "eastus",
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
21+
"name": "myApp",
22+
"tags": {
23+
"a": "b"
24+
},
25+
"properties": {
26+
"provisioningState": "Succeeded",
27+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
28+
"parameters": {
29+
"param1": "value1"
30+
},
31+
"upgradePolicy": {
32+
"applicationHealthPolicy": {
33+
"considerWarningAsError": true,
34+
"maxPercentUnhealthyDeployedApplications": 0,
35+
"defaultServiceTypeHealthPolicy": {
36+
"maxPercentUnhealthyServices": 0,
37+
"maxPercentUnhealthyPartitionsPerService": 0,
38+
"maxPercentUnhealthyReplicasPerPartition": 0
39+
},
40+
"serviceTypeHealthPolicyMap": {
41+
"service1": {
42+
"maxPercentUnhealthyReplicasPerPartition": 30,
43+
"maxPercentUnhealthyPartitionsPerService": 30,
44+
"maxPercentUnhealthyServices": 30
45+
}
46+
}
47+
},
48+
"rollingUpgradeMonitoringPolicy": {
49+
"failureAction": "Rollback",
50+
"healthCheckRetryTimeout": "00:10:00",
51+
"healthCheckWaitDuration": "00:02:00",
52+
"healthCheckStableDuration": "00:05:00",
53+
"upgradeDomainTimeout": "00:15:00",
54+
"upgradeTimeout": "01:00:00"
55+
},
56+
"upgradeReplicaSetCheckTimeout": 3600,
57+
"forceRestart": false,
58+
"instanceCloseDelayDuration": 600,
59+
"upgradeMode": "UnmonitoredAuto",
60+
"recreateApplication": false
61+
}
62+
}
63+
}
64+
}
65+
}
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2023-11-01-preview",
8+
"parameters": {
9+
"location": "eastus",
10+
"tags": {
11+
"a": "b"
12+
},
13+
"properties": {
14+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
15+
"parameters": {
16+
"param1": "value1"
17+
},
18+
"upgradePolicy": {
19+
"applicationHealthPolicy": {
20+
"considerWarningAsError": true,
21+
"maxPercentUnhealthyDeployedApplications": 0,
22+
"defaultServiceTypeHealthPolicy": {
23+
"maxPercentUnhealthyServices": 0,
24+
"maxPercentUnhealthyPartitionsPerService": 0,
25+
"maxPercentUnhealthyReplicasPerPartition": 0
26+
},
27+
"serviceTypeHealthPolicyMap": {
28+
"service1": {
29+
"maxPercentUnhealthyReplicasPerPartition": 30,
30+
"maxPercentUnhealthyPartitionsPerService": 30,
31+
"maxPercentUnhealthyServices": 30
32+
}
33+
}
34+
},
35+
"rollingUpgradeMonitoringPolicy": {
36+
"failureAction": "Rollback",
37+
"healthCheckRetryTimeout": "00:10:00",
38+
"healthCheckWaitDuration": "00:02:00",
39+
"healthCheckStableDuration": "00:05:00",
40+
"upgradeDomainTimeout": "00:15:00",
41+
"upgradeTimeout": "01:00:00"
42+
},
43+
"upgradeReplicaSetCheckTimeout": 3600,
44+
"forceRestart": false,
45+
"instanceCloseDelayDuration": 600,
46+
"upgradeMode": "UnmonitoredAuto",
47+
"recreateApplication": false
48+
}
49+
}
50+
}
51+
},
52+
"responses": {
53+
"200": {
54+
"headers": {},
55+
"body": {
56+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
57+
"location": "eastus",
58+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
59+
"name": "myApp",
60+
"tags": {
61+
"a": "b"
62+
},
63+
"properties": {
64+
"provisioningState": "Creating",
65+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
66+
"parameters": {
67+
"param1": "value1"
68+
},
69+
"upgradePolicy": {
70+
"applicationHealthPolicy": {
71+
"considerWarningAsError": true,
72+
"maxPercentUnhealthyDeployedApplications": 0,
73+
"defaultServiceTypeHealthPolicy": {
74+
"maxPercentUnhealthyServices": 0,
75+
"maxPercentUnhealthyPartitionsPerService": 0,
76+
"maxPercentUnhealthyReplicasPerPartition": 0
77+
},
78+
"serviceTypeHealthPolicyMap": {
79+
"service1": {
80+
"maxPercentUnhealthyReplicasPerPartition": 30,
81+
"maxPercentUnhealthyPartitionsPerService": 30,
82+
"maxPercentUnhealthyServices": 30
83+
}
84+
}
85+
},
86+
"rollingUpgradeMonitoringPolicy": {
87+
"failureAction": "Rollback",
88+
"healthCheckRetryTimeout": "00:10:00",
89+
"healthCheckWaitDuration": "00:02:00",
90+
"healthCheckStableDuration": "00:05:00",
91+
"upgradeDomainTimeout": "00:15:00",
92+
"upgradeTimeout": "01:00:00"
93+
},
94+
"upgradeReplicaSetCheckTimeout": 3600,
95+
"forceRestart": false,
96+
"instanceCloseDelayDuration": 600,
97+
"upgradeMode": "UnmonitoredAuto",
98+
"recreateApplication": false
99+
}
100+
}
101+
}
102+
},
103+
"202": {
104+
"headers": {
105+
"Retry-After": "10",
106+
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2023-11-01-preview"
107+
},
108+
"body": {
109+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
110+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
111+
"name": "myApp",
112+
"tags": {
113+
"a": "b"
114+
},
115+
"properties": {
116+
"provisioningState": "Updating",
117+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
118+
"parameters": {
119+
"param1": "value1"
120+
},
121+
"upgradePolicy": {
122+
"applicationHealthPolicy": {
123+
"considerWarningAsError": true,
124+
"maxPercentUnhealthyDeployedApplications": 0,
125+
"defaultServiceTypeHealthPolicy": {
126+
"maxPercentUnhealthyServices": 0,
127+
"maxPercentUnhealthyPartitionsPerService": 0,
128+
"maxPercentUnhealthyReplicasPerPartition": 0
129+
},
130+
"serviceTypeHealthPolicyMap": {
131+
"service1": {
132+
"maxPercentUnhealthyReplicasPerPartition": 30,
133+
"maxPercentUnhealthyPartitionsPerService": 30,
134+
"maxPercentUnhealthyServices": 30
135+
}
136+
}
137+
},
138+
"rollingUpgradeMonitoringPolicy": {
139+
"failureAction": "Rollback",
140+
"healthCheckRetryTimeout": "00:10:00",
141+
"healthCheckWaitDuration": "00:02:00",
142+
"healthCheckStableDuration": "00:05:00",
143+
"upgradeDomainTimeout": "00:15:00",
144+
"upgradeTimeout": "01:00:00"
145+
},
146+
"upgradeReplicaSetCheckTimeout": 3600,
147+
"forceRestart": false,
148+
"instanceCloseDelayDuration": 600,
149+
"upgradeMode": "UnmonitoredAuto",
150+
"recreateApplication": false
151+
}
152+
}
153+
}
154+
}
155+
}
156+
}

0 commit comments

Comments
 (0)