Skip to content

Commit 5103652

Browse files
a-santamariaAlfredo Santamaria Gomez
andauthored
Service Fabric - add managedcluster and nodetype specs 2020-01-01-preview (#10085)
* adding managedcluster and nodetype specs * remove name form put requests * fix descriptions * fix typos * run prettier-fix * change api version to 2020-01-01-preview * rename vmSku parameter to vmSize * fix fqdn and clusterCertificateCommonName in examples * fix comments and update with latest * prettier fixes and fix typos * renaming example to see if validtion can find it * add operations example and secret tag to password Co-authored-by: Alfredo Santamaria Gomez <[email protected]>
1 parent 67a91ee commit 5103652

21 files changed

+4353
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"location": "eastus",
6+
"osType": "Windows",
7+
"api-version": "2020-01-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {},
12+
"body": [
13+
{
14+
"msiVersion": "7.0.470.9590",
15+
"supportExpiryUtc": "2020-08-01T00:00:00",
16+
"osType": "Windows"
17+
},
18+
{
19+
"msiVersion": "7.1.409.9590",
20+
"supportExpiryUtc": "",
21+
"osType": "Windows"
22+
}
23+
]
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"nodeTypeName": "BE",
7+
"api-version": "2020-01-01-preview",
8+
"parameters": {
9+
"nodes": [
10+
"BE_0",
11+
"BE_3"
12+
]
13+
}
14+
},
15+
"responses": {
16+
"202": {
17+
"headers": {
18+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2020-01-01-preview",
19+
"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=2020-01-01-preview"
20+
}
21+
},
22+
"200": {}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"api-version": "2020-01-01-preview"
7+
},
8+
"responses": {
9+
"202": {
10+
"headers": {
11+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2020-01-01-preview"
12+
}
13+
},
14+
"204": {}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"clusterName": "myCluster",
6+
"api-version": "2020-01-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"type": "Microsoft.ServiceFabric/managedClusters",
13+
"location": "eastus",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster",
15+
"name": "myCluster",
16+
"tags": {},
17+
"etag": "W/\"636462502169240745\"",
18+
"properties": {
19+
"provisioningState": "Succeeded",
20+
"clusterId": "92584666-9889-4ae8-8d02-91902923d37f",
21+
"clusterCodeVersion": "7.1.168.9494",
22+
"clusterState": "WaitingForNodes",
23+
"dnsName": "myCluster",
24+
"fqdn": "MyCluster.eastus.cloudapp.azure.com",
25+
"clusterCertificateThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622",
26+
"clientConnectionPort": 19000,
27+
"httpGatewayConnectionPort": 19080,
28+
"loadBalancingRules": [
29+
{
30+
"frontendPort": 80,
31+
"backendPort": 80,
32+
"protocol": "http"
33+
},
34+
{
35+
"frontendPort": 443,
36+
"backendPort": 443,
37+
"protocol": "http"
38+
},
39+
{
40+
"frontendPort": 10000,
41+
"backendPort": 10000,
42+
"protocol": "tcp"
43+
}
44+
],
45+
"adminUserName": "vmadmin",
46+
"fabricSettings": [
47+
{
48+
"name": "ManagedIdentityTokenService",
49+
"parameters": [
50+
{
51+
"name": "IsEnabled",
52+
"value": "true"
53+
}
54+
]
55+
}
56+
],
57+
"clusterUpgradeMode": "Manual",
58+
"clusterUpgradeDescription": {
59+
"forceRestart": false,
60+
"upgradeReplicaSetCheckTimeout": "00:10:00",
61+
"healthCheckWaitDuration": "00:00:30",
62+
"healthCheckStableDuration": "00:00:30",
63+
"healthCheckRetryTimeout": "00:05:00",
64+
"upgradeTimeout": "01:00:00",
65+
"upgradeDomainTimeout": "00:15:00",
66+
"healthPolicy": {
67+
"maxPercentUnhealthyNodes": 0,
68+
"maxPercentUnhealthyApplications": 0,
69+
"applicationHealthPolicies": {
70+
"fabric:/myApp1": {
71+
"defaultServiceTypeHealthPolicy": {
72+
"maxPercentUnhealthyServices": 0
73+
},
74+
"serviceTypeHealthPolicies": {
75+
"myServiceType1": {
76+
"maxPercentUnhealthyServices": 100
77+
}
78+
}
79+
}
80+
}
81+
},
82+
"deltaHealthPolicy": {
83+
"maxPercentDeltaUnhealthyNodes": 0,
84+
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
85+
"maxPercentDeltaUnhealthyApplications": 0,
86+
"applicationDeltaHealthPolicies": {
87+
"fabric:/myApp1": {
88+
"defaultServiceTypeDeltaHealthPolicy": {
89+
"maxPercentDeltaUnhealthyServices": 0
90+
},
91+
"serviceTypeDeltaHealthPolicies": {
92+
"myServiceType1": {
93+
"maxPercentDeltaUnhealthyServices": 0
94+
}
95+
}
96+
}
97+
}
98+
}
99+
}
100+
}
101+
}
102+
}
103+
}
104+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "resRg",
5+
"api-version": "2020-01-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {},
10+
"body": {
11+
"value": [
12+
{
13+
"type": "Microsoft.ServiceFabric/managedClusters",
14+
"location": "eastus",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster",
16+
"name": "myCluster",
17+
"tags": {},
18+
"etag": "W/\"636462502169240745\"",
19+
"properties": {
20+
"provisioningState": "Succeeded",
21+
"clusterId": "92584666-9889-4ae8-8d02-91902923d37f",
22+
"clusterCodeVersion": "7.1.168.9494",
23+
"clusterState": "WaitingForNodes",
24+
"dnsName": "myCluster",
25+
"fqdn": "MyCluster.eastus.cloudapp.azure.com",
26+
"clusterCertificateThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622",
27+
"clientConnectionPort": 19000,
28+
"httpGatewayConnectionPort": 19080,
29+
"loadBalancingRules": [],
30+
"adminUserName": "vmadmin",
31+
"fabricSettings": [
32+
{
33+
"name": "ManagedIdentityTokenService",
34+
"parameters": [
35+
{
36+
"name": "IsEnabled",
37+
"value": "true"
38+
}
39+
]
40+
}
41+
],
42+
"clusterUpgradeDescription": {
43+
"forceRestart": false,
44+
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
45+
"healthCheckWaitDuration": "00:05:00",
46+
"healthCheckStableDuration": "00:05:00",
47+
"healthCheckRetryTimeout": "00:45:00",
48+
"upgradeTimeout": "12:00:00",
49+
"upgradeDomainTimeout": "02:00:00",
50+
"healthPolicy": {
51+
"maxPercentUnhealthyNodes": 100,
52+
"maxPercentUnhealthyApplications": 100
53+
},
54+
"deltaHealthPolicy": {
55+
"maxPercentDeltaUnhealthyNodes": 0,
56+
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
57+
"maxPercentDeltaUnhealthyApplications": 0
58+
}
59+
},
60+
"clusterUpgradeMode": "Automatic"
61+
}
62+
},
63+
{
64+
"type": "Microsoft.ServiceFabric/managedClusters",
65+
"location": "eastus",
66+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster2",
67+
"name": "myCluster2",
68+
"tags": {},
69+
"etag": "W/\"636462502164040075\"",
70+
"properties": {
71+
"provisioningState": "Succeeded",
72+
"clusterId": "2747e469-b24e-4039-8a0a-46151419523f",
73+
"clusterCodeVersion": "7.1.168.9494",
74+
"clusterState": "WaitingForNodes",
75+
"dnsName": "myCluster2",
76+
"fqdn": "MyCluster.eastus.cloudapp.azure.com",
77+
"clusterCertificateThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622",
78+
"clientConnectionPort": 19000,
79+
"httpGatewayConnectionPort": 19080,
80+
"loadBalancingRules": [],
81+
"adminUserName": "vmadmin",
82+
"fabricSettings": [
83+
{
84+
"name": "ManagedIdentityTokenService",
85+
"parameters": [
86+
{
87+
"name": "IsEnabled",
88+
"value": "true"
89+
}
90+
]
91+
}
92+
],
93+
"clusterUpgradeDescription": {
94+
"forceRestart": false,
95+
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
96+
"healthCheckWaitDuration": "00:05:00",
97+
"healthCheckStableDuration": "00:05:00",
98+
"healthCheckRetryTimeout": "00:45:00",
99+
"upgradeTimeout": "12:00:00",
100+
"upgradeDomainTimeout": "02:00:00",
101+
"healthPolicy": {
102+
"maxPercentUnhealthyNodes": 100,
103+
"maxPercentUnhealthyApplications": 100
104+
},
105+
"deltaHealthPolicy": {
106+
"maxPercentDeltaUnhealthyNodes": 0,
107+
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
108+
"maxPercentDeltaUnhealthyApplications": 0
109+
}
110+
},
111+
"clusterUpgradeMode": "Automatic"
112+
}
113+
}
114+
],
115+
"nextLink": ""
116+
}
117+
}
118+
}
119+
}

0 commit comments

Comments
 (0)