Skip to content

Commit 52b1c1b

Browse files
a-santamariaAlfredo Santamaria Gomez
andauthored
[Service Fabric] adding api version 2021-06-01 (#14838)
* initiall commit with previous stable version 2020-03-01 * update to version 2021-06-01 * update examples with 2021-06-01 api * fix automation errors * remove operation definitions from app * use systemData from common-types * add type * update vmInstanceCount description and min * adding missing az params * adding missing cluster parameters * remove 200 from app delete operations * remove default respopnse from clusterVersions Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
1 parent 8d2bd54 commit 52b1c1b

File tree

36 files changed

+7060
-1
lines changed

36 files changed

+7060
-1
lines changed

specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json

Lines changed: 2273 additions & 0 deletions
Large diffs are not rendered by default.

specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json

Lines changed: 1955 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2021-06-01"
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=2019-03-01"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2021-06-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {},
12+
"body": {
13+
"type": "applications",
14+
"location": "eastus",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp",
16+
"name": "myCluster",
17+
"tags": {},
18+
"etag": "W/\"636462502180261859\"",
19+
"properties": {
20+
"provisioningState": "Updating",
21+
"typeName": "myAppType",
22+
"typeVersion": "1.0",
23+
"parameters": {
24+
"param1": "value1"
25+
},
26+
"upgradePolicy": {
27+
"upgradeMode": "Monitored",
28+
"applicationHealthPolicy": {
29+
"considerWarningAsError": true,
30+
"maxPercentUnhealthyDeployedApplications": 0,
31+
"defaultServiceTypeHealthPolicy": {
32+
"maxPercentUnhealthyServices": 0,
33+
"maxPercentUnhealthyPartitionsPerService": 0,
34+
"maxPercentUnhealthyReplicasPerPartition": 0
35+
}
36+
},
37+
"rollingUpgradeMonitoringPolicy": {
38+
"failureAction": "Rollback",
39+
"healthCheckRetryTimeout": "00:10:00",
40+
"healthCheckWaitDuration": "00:02:00",
41+
"healthCheckStableDuration": "00:05:00",
42+
"upgradeDomainTimeout": "1.06:00:00",
43+
"upgradeTimeout": "01:00:00"
44+
},
45+
"upgradeReplicaSetCheckTimeout": "01:00:00",
46+
"forceRestart": false
47+
},
48+
"maximumNodes": 3,
49+
"minimumNodes": 1,
50+
"removeApplicationCapacity": false,
51+
"metrics": [
52+
{
53+
"name": "metric1",
54+
"reservationCapacity": 1,
55+
"maximumCapacity": 3,
56+
"totalApplicationCapacity": 5
57+
}
58+
]
59+
}
60+
}
61+
}
62+
}
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"api-version": "2021-06-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"value": [
13+
{
14+
"type": "applications",
15+
"location": "eastus",
16+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp",
17+
"name": "myCluster",
18+
"tags": {},
19+
"etag": "W/\"636462502180261858\"",
20+
"properties": {
21+
"provisioningState": "Updating",
22+
"typeName": "myAppType",
23+
"typeVersion": "1.0",
24+
"removeApplicationCapacity": false,
25+
"metrics": [
26+
{
27+
"name": "metric1",
28+
"reservationCapacity": 1,
29+
"maximumCapacity": 3,
30+
"totalApplicationCapacity": 5
31+
}
32+
]
33+
}
34+
}
35+
],
36+
"nextLink": ""
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2021-06-01",
8+
"parameters": {
9+
"location": "eastus",
10+
"tags": {},
11+
"properties": {
12+
"typeVersion": "1.0",
13+
"removeApplicationCapacity": false,
14+
"metrics": [
15+
{
16+
"name": "metric1",
17+
"reservationCapacity": 1,
18+
"maximumCapacity": 3,
19+
"totalApplicationCapacity": 5
20+
}
21+
]
22+
}
23+
}
24+
},
25+
"responses": {
26+
"202": {
27+
"headers": {
28+
"Retry-After": "10",
29+
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/a553eb63-c332-40df-8ace-eb8d34a9b298?api-version=2021-06-01"
30+
},
31+
"body": {
32+
"type": "applications",
33+
"location": "eastus",
34+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp",
35+
"name": "myCluster",
36+
"tags": {},
37+
"etag": "W/\"636462502180261858\"",
38+
"properties": {
39+
"provisioningState": "Updating",
40+
"typeName": "myAppType",
41+
"typeVersion": "1.0",
42+
"removeApplicationCapacity": false,
43+
"metrics": [
44+
{
45+
"name": "metric1",
46+
"reservationCapacity": 1,
47+
"maximumCapacity": 3,
48+
"totalApplicationCapacity": 5
49+
}
50+
]
51+
}
52+
}
53+
}
54+
}
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2021-06-01",
8+
"parameters": {
9+
"tags": {},
10+
"properties": {
11+
"typeName": "myAppType",
12+
"typeVersion": "1.0",
13+
"parameters": {
14+
"param1": "value1"
15+
},
16+
"upgradePolicy": {
17+
"upgradeMode": "Monitored",
18+
"applicationHealthPolicy": {
19+
"considerWarningAsError": true,
20+
"maxPercentUnhealthyDeployedApplications": 0,
21+
"defaultServiceTypeHealthPolicy": {
22+
"maxPercentUnhealthyServices": 0,
23+
"maxPercentUnhealthyPartitionsPerService": 0,
24+
"maxPercentUnhealthyReplicasPerPartition": 0
25+
}
26+
},
27+
"rollingUpgradeMonitoringPolicy": {
28+
"failureAction": "Rollback",
29+
"healthCheckRetryTimeout": "00:10:00",
30+
"healthCheckWaitDuration": "00:02:00",
31+
"healthCheckStableDuration": "00:05:00",
32+
"upgradeDomainTimeout": "1.06:00:00",
33+
"upgradeTimeout": "01:00:00"
34+
},
35+
"upgradeReplicaSetCheckTimeout": "01:00:00",
36+
"forceRestart": false
37+
},
38+
"maximumNodes": 3,
39+
"minimumNodes": 1,
40+
"removeApplicationCapacity": false,
41+
"metrics": [
42+
{
43+
"name": "metric1",
44+
"reservationCapacity": 1,
45+
"maximumCapacity": 3,
46+
"totalApplicationCapacity": 5
47+
}
48+
]
49+
}
50+
}
51+
},
52+
"responses": {
53+
"202": {
54+
"headers": {
55+
"Retry-After": "10",
56+
"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=2021-06-01"
57+
},
58+
"body": {
59+
"type": "applications",
60+
"location": "eastus",
61+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp",
62+
"name": "myCluster",
63+
"tags": {},
64+
"etag": "W/\"636462502180261859\"",
65+
"properties": {
66+
"provisioningState": "Updating",
67+
"typeName": "myAppType",
68+
"typeVersion": "1.0",
69+
"parameters": {
70+
"param1": "value1"
71+
},
72+
"upgradePolicy": {
73+
"upgradeMode": "Monitored",
74+
"applicationHealthPolicy": {
75+
"considerWarningAsError": true,
76+
"maxPercentUnhealthyDeployedApplications": 0,
77+
"defaultServiceTypeHealthPolicy": {
78+
"maxPercentUnhealthyServices": 0,
79+
"maxPercentUnhealthyPartitionsPerService": 0,
80+
"maxPercentUnhealthyReplicasPerPartition": 0
81+
}
82+
},
83+
"rollingUpgradeMonitoringPolicy": {
84+
"failureAction": "Rollback",
85+
"healthCheckRetryTimeout": "00:10:00",
86+
"healthCheckWaitDuration": "00:02:00",
87+
"healthCheckStableDuration": "00:05:00",
88+
"upgradeDomainTimeout": "1.06:00:00",
89+
"upgradeTimeout": "01:00:00"
90+
},
91+
"upgradeReplicaSetCheckTimeout": "01:00:00",
92+
"forceRestart": false
93+
},
94+
"maximumNodes": 3,
95+
"minimumNodes": 1,
96+
"removeApplicationCapacity": false,
97+
"metrics": [
98+
{
99+
"name": "metric1",
100+
"reservationCapacity": 1,
101+
"maximumCapacity": 3,
102+
"totalApplicationCapacity": 5
103+
}
104+
]
105+
}
106+
}
107+
}
108+
}
109+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationName": "myApp",
7+
"api-version": "2021-06-01",
8+
"parameters": {
9+
"location": "eastus",
10+
"tags": {},
11+
"properties": {
12+
"typeName": "myAppType",
13+
"typeVersion": "1.0",
14+
"removeApplicationCapacity": false
15+
}
16+
}
17+
},
18+
"responses": {
19+
"202": {
20+
"headers": {
21+
"Retry-After": "10",
22+
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2021-06-01"
23+
},
24+
"body": {
25+
"type": "applications",
26+
"location": "eastus",
27+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp",
28+
"name": "myCluster",
29+
"tags": {},
30+
"etag": "W/\"636462502180261857\"",
31+
"properties": {
32+
"provisioningState": "Updating",
33+
"typeName": "myAppType",
34+
"typeVersion": "1.0",
35+
"removeApplicationCapacity": false
36+
}
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationTypeName": "myAppType",
7+
"api-version": "2021-06-01"
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/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2021-06-01"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"applicationTypeName": "myAppType",
7+
"api-version": "2021-06-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {},
12+
"body": {
13+
"type": "applicationTypes",
14+
"location": "eastus",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType",
16+
"name": "myCluster",
17+
"tags": {},
18+
"etag": "W/\"636462502174844831\"",
19+
"properties": {
20+
"provisioningState": "Succeeded"
21+
}
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)