-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Service Fabric - add managedcluster and nodetype specs 2020-01-01-preview #10085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
leniatgh
merged 12 commits into
Azure:master
from
a-santamaria:sfrp_2020-01-01-preview_managedclusters
Jul 21, 2020
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4f24338
adding managedcluster and nodetype specs
34e4fea
remove name form put requests
e59f5e3
fix descriptions
d7b9f32
fix typos
12752b2
run prettier-fix
1bef399
change api version to 2020-01-01-preview
1701d7a
rename vmSku parameter to vmSize
eced230
fix fqdn and clusterCertificateCommonName in examples
6ed51c1
fix comments and update with latest
0fb27dd
prettier fixes and fix typos
cf5d125
renaming example to see if validtion can find it
3ed3369
add operations example and secret tag to password
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...ft.ServiceFabric/preview/2020-01-01-preview/examples/ClusterVersionsListByOS_example.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "location": "eastus", | ||
| "osType": "Windows", | ||
| "api-version": "2020-01-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": [ | ||
| { | ||
| "msiVersion": "7.0.470.9590", | ||
| "supportExpiryUtc": "2020-08-01T00:00:00", | ||
| "osType": "Windows" | ||
| }, | ||
| { | ||
| "msiVersion": "7.1.409.9590", | ||
| "supportExpiryUtc": "", | ||
| "osType": "Windows" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
24 changes: 24 additions & 0 deletions
24
...ager/Microsoft.ServiceFabric/preview/2020-01-01-preview/examples/DeleteNodes_example.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "clusterName": "myCluster", | ||
| "nodeTypeName": "BE", | ||
| "api-version": "2020-01-01-preview", | ||
| "parameters": { | ||
| "nodes": [ | ||
| "BE_0", | ||
| "BE_3" | ||
| ] | ||
| } | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "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", | ||
| "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" | ||
| } | ||
| }, | ||
| "200": {} | ||
| } | ||
| } | ||
16 changes: 16 additions & 0 deletions
16
...viceFabric/preview/2020-01-01-preview/examples/ManagedClusterDeleteOperation_example.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "clusterName": "myCluster", | ||
| "api-version": "2020-01-01-preview" | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "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" | ||
| } | ||
| }, | ||
| "204": {} | ||
| } | ||
| } |
104 changes: 104 additions & 0 deletions
104
...ServiceFabric/preview/2020-01-01-preview/examples/ManagedClusterGetOperation_example.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "clusterName": "myCluster", | ||
| "api-version": "2020-01-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "type": "Microsoft.ServiceFabric/managedClusters", | ||
| "location": "eastus", | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", | ||
| "name": "myCluster", | ||
| "tags": {}, | ||
| "etag": "W/\"636462502169240745\"", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", | ||
| "clusterCodeVersion": "7.1.168.9494", | ||
| "clusterState": "WaitingForNodes", | ||
| "dnsName": "myCluster", | ||
| "fqdn": "MyCluster.eastus.cloudapp.azure.com", | ||
| "clusterCertificateThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622", | ||
| "clientConnectionPort": 19000, | ||
| "httpGatewayConnectionPort": 19080, | ||
| "loadBalancingRules": [ | ||
| { | ||
| "frontendPort": 80, | ||
| "backendPort": 80, | ||
| "protocol": "http" | ||
| }, | ||
| { | ||
| "frontendPort": 443, | ||
| "backendPort": 443, | ||
| "protocol": "http" | ||
| }, | ||
| { | ||
| "frontendPort": 10000, | ||
| "backendPort": 10000, | ||
| "protocol": "tcp" | ||
| } | ||
| ], | ||
| "adminUserName": "vmadmin", | ||
| "fabricSettings": [ | ||
| { | ||
| "name": "ManagedIdentityTokenService", | ||
| "parameters": [ | ||
| { | ||
| "name": "IsEnabled", | ||
| "value": "true" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "clusterUpgradeMode": "Manual", | ||
| "clusterUpgradeDescription": { | ||
| "forceRestart": false, | ||
| "upgradeReplicaSetCheckTimeout": "00:10:00", | ||
| "healthCheckWaitDuration": "00:00:30", | ||
| "healthCheckStableDuration": "00:00:30", | ||
| "healthCheckRetryTimeout": "00:05:00", | ||
| "upgradeTimeout": "01:00:00", | ||
| "upgradeDomainTimeout": "00:15:00", | ||
| "healthPolicy": { | ||
| "maxPercentUnhealthyNodes": 0, | ||
| "maxPercentUnhealthyApplications": 0, | ||
| "applicationHealthPolicies": { | ||
| "fabric:/myApp1": { | ||
| "defaultServiceTypeHealthPolicy": { | ||
| "maxPercentUnhealthyServices": 0 | ||
| }, | ||
| "serviceTypeHealthPolicies": { | ||
| "myServiceType1": { | ||
| "maxPercentUnhealthyServices": 100 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "deltaHealthPolicy": { | ||
| "maxPercentDeltaUnhealthyNodes": 0, | ||
| "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, | ||
| "maxPercentDeltaUnhealthyApplications": 0, | ||
| "applicationDeltaHealthPolicies": { | ||
| "fabric:/myApp1": { | ||
| "defaultServiceTypeDeltaHealthPolicy": { | ||
| "maxPercentDeltaUnhealthyServices": 0 | ||
| }, | ||
| "serviceTypeDeltaHealthPolicies": { | ||
| "myServiceType1": { | ||
| "maxPercentDeltaUnhealthyServices": 0 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
119 changes: 119 additions & 0 deletions
119
...eview/2020-01-01-preview/examples/ManagedClusterListByResourceGroupOperation_example.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,119 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "api-version": "2020-01-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "type": "Microsoft.ServiceFabric/managedClusters", | ||
| "location": "eastus", | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", | ||
| "name": "myCluster", | ||
| "tags": {}, | ||
| "etag": "W/\"636462502169240745\"", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", | ||
| "clusterCodeVersion": "7.1.168.9494", | ||
| "clusterState": "WaitingForNodes", | ||
| "dnsName": "myCluster", | ||
| "fqdn": "MyCluster.eastus.cloudapp.azure.com", | ||
| "clusterCertificateThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622", | ||
| "clientConnectionPort": 19000, | ||
| "httpGatewayConnectionPort": 19080, | ||
| "loadBalancingRules": [], | ||
| "adminUserName": "vmadmin", | ||
| "fabricSettings": [ | ||
| { | ||
| "name": "ManagedIdentityTokenService", | ||
| "parameters": [ | ||
| { | ||
| "name": "IsEnabled", | ||
| "value": "true" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "clusterUpgradeDescription": { | ||
| "forceRestart": false, | ||
| "upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807", | ||
| "healthCheckWaitDuration": "00:05:00", | ||
| "healthCheckStableDuration": "00:05:00", | ||
| "healthCheckRetryTimeout": "00:45:00", | ||
| "upgradeTimeout": "12:00:00", | ||
| "upgradeDomainTimeout": "02:00:00", | ||
| "healthPolicy": { | ||
| "maxPercentUnhealthyNodes": 100, | ||
| "maxPercentUnhealthyApplications": 100 | ||
| }, | ||
| "deltaHealthPolicy": { | ||
| "maxPercentDeltaUnhealthyNodes": 0, | ||
| "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, | ||
| "maxPercentDeltaUnhealthyApplications": 0 | ||
| } | ||
| }, | ||
| "clusterUpgradeMode": "Automatic" | ||
| } | ||
| }, | ||
| { | ||
| "type": "Microsoft.ServiceFabric/managedClusters", | ||
| "location": "eastus", | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster2", | ||
| "name": "myCluster2", | ||
| "tags": {}, | ||
| "etag": "W/\"636462502164040075\"", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", | ||
| "clusterCodeVersion": "7.1.168.9494", | ||
| "clusterState": "WaitingForNodes", | ||
| "dnsName": "myCluster2", | ||
| "fqdn": "MyCluster.eastus.cloudapp.azure.com", | ||
| "clusterCertificateThumbprint": "12599211F8F14C90AFA9532AD79A6F2CA1C00622", | ||
| "clientConnectionPort": 19000, | ||
| "httpGatewayConnectionPort": 19080, | ||
| "loadBalancingRules": [], | ||
| "adminUserName": "vmadmin", | ||
| "fabricSettings": [ | ||
| { | ||
| "name": "ManagedIdentityTokenService", | ||
| "parameters": [ | ||
| { | ||
| "name": "IsEnabled", | ||
| "value": "true" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "clusterUpgradeDescription": { | ||
| "forceRestart": false, | ||
| "upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807", | ||
| "healthCheckWaitDuration": "00:05:00", | ||
| "healthCheckStableDuration": "00:05:00", | ||
| "healthCheckRetryTimeout": "00:45:00", | ||
| "upgradeTimeout": "12:00:00", | ||
| "upgradeDomainTimeout": "02:00:00", | ||
| "healthPolicy": { | ||
| "maxPercentUnhealthyNodes": 100, | ||
| "maxPercentUnhealthyApplications": 100 | ||
| }, | ||
| "deltaHealthPolicy": { | ||
| "maxPercentDeltaUnhealthyNodes": 0, | ||
| "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, | ||
| "maxPercentDeltaUnhealthyApplications": 0 | ||
| } | ||
| }, | ||
| "clusterUpgradeMode": "Automatic" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": "" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.