-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
1 parent
8d2bd54
commit 52b1c1b
Showing
36 changed files
with
7,060 additions
and
1 deletion.
There are no files selected for viewing
2,273 changes: 2,273 additions & 0 deletions
2,273
...servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,955 changes: 1,955 additions & 0 deletions
1,955
...ion/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...icrosoft.ServiceFabric/stable/2021-06-01/examples/ApplicationDeleteOperation_example.json
This file contains 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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": "10", | ||
"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" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...r/Microsoft.ServiceFabric/stable/2021-06-01/examples/ApplicationGetOperation_example.json
This file contains 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,63 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"type": "applications", | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", | ||
"name": "myCluster", | ||
"tags": {}, | ||
"etag": "W/\"636462502180261859\"", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"parameters": { | ||
"param1": "value1" | ||
}, | ||
"upgradePolicy": { | ||
"upgradeMode": "Monitored", | ||
"applicationHealthPolicy": { | ||
"considerWarningAsError": true, | ||
"maxPercentUnhealthyDeployedApplications": 0, | ||
"defaultServiceTypeHealthPolicy": { | ||
"maxPercentUnhealthyServices": 0, | ||
"maxPercentUnhealthyPartitionsPerService": 0, | ||
"maxPercentUnhealthyReplicasPerPartition": 0 | ||
} | ||
}, | ||
"rollingUpgradeMonitoringPolicy": { | ||
"failureAction": "Rollback", | ||
"healthCheckRetryTimeout": "00:10:00", | ||
"healthCheckWaitDuration": "00:02:00", | ||
"healthCheckStableDuration": "00:05:00", | ||
"upgradeDomainTimeout": "1.06:00:00", | ||
"upgradeTimeout": "01:00:00" | ||
}, | ||
"upgradeReplicaSetCheckTimeout": "01:00:00", | ||
"forceRestart": false | ||
}, | ||
"maximumNodes": 3, | ||
"minimumNodes": 1, | ||
"removeApplicationCapacity": false, | ||
"metrics": [ | ||
{ | ||
"name": "metric1", | ||
"reservationCapacity": 1, | ||
"maximumCapacity": 3, | ||
"totalApplicationCapacity": 5 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
.../Microsoft.ServiceFabric/stable/2021-06-01/examples/ApplicationListOperation_example.json
This file contains 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,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"type": "applications", | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", | ||
"name": "myCluster", | ||
"tags": {}, | ||
"etag": "W/\"636462502180261858\"", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"removeApplicationCapacity": false, | ||
"metrics": [ | ||
{ | ||
"name": "metric1", | ||
"reservationCapacity": 1, | ||
"maximumCapacity": 3, | ||
"totalApplicationCapacity": 5 | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": "" | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...Microsoft.ServiceFabric/stable/2021-06-01/examples/ApplicationPatchOperation_example.json
This file contains 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,55 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2021-06-01", | ||
"parameters": { | ||
"location": "eastus", | ||
"tags": {}, | ||
"properties": { | ||
"typeVersion": "1.0", | ||
"removeApplicationCapacity": false, | ||
"metrics": [ | ||
{ | ||
"name": "metric1", | ||
"reservationCapacity": 1, | ||
"maximumCapacity": 3, | ||
"totalApplicationCapacity": 5 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": "10", | ||
"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" | ||
}, | ||
"body": { | ||
"type": "applications", | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", | ||
"name": "myCluster", | ||
"tags": {}, | ||
"etag": "W/\"636462502180261858\"", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"removeApplicationCapacity": false, | ||
"metrics": [ | ||
{ | ||
"name": "metric1", | ||
"reservationCapacity": 1, | ||
"maximumCapacity": 3, | ||
"totalApplicationCapacity": 5 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
109 changes: 109 additions & 0 deletions
109
...crosoft.ServiceFabric/stable/2021-06-01/examples/ApplicationPutOperation_example_max.json
This file contains 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,109 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2021-06-01", | ||
"parameters": { | ||
"tags": {}, | ||
"properties": { | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"parameters": { | ||
"param1": "value1" | ||
}, | ||
"upgradePolicy": { | ||
"upgradeMode": "Monitored", | ||
"applicationHealthPolicy": { | ||
"considerWarningAsError": true, | ||
"maxPercentUnhealthyDeployedApplications": 0, | ||
"defaultServiceTypeHealthPolicy": { | ||
"maxPercentUnhealthyServices": 0, | ||
"maxPercentUnhealthyPartitionsPerService": 0, | ||
"maxPercentUnhealthyReplicasPerPartition": 0 | ||
} | ||
}, | ||
"rollingUpgradeMonitoringPolicy": { | ||
"failureAction": "Rollback", | ||
"healthCheckRetryTimeout": "00:10:00", | ||
"healthCheckWaitDuration": "00:02:00", | ||
"healthCheckStableDuration": "00:05:00", | ||
"upgradeDomainTimeout": "1.06:00:00", | ||
"upgradeTimeout": "01:00:00" | ||
}, | ||
"upgradeReplicaSetCheckTimeout": "01:00:00", | ||
"forceRestart": false | ||
}, | ||
"maximumNodes": 3, | ||
"minimumNodes": 1, | ||
"removeApplicationCapacity": false, | ||
"metrics": [ | ||
{ | ||
"name": "metric1", | ||
"reservationCapacity": 1, | ||
"maximumCapacity": 3, | ||
"totalApplicationCapacity": 5 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": "10", | ||
"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" | ||
}, | ||
"body": { | ||
"type": "applications", | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", | ||
"name": "myCluster", | ||
"tags": {}, | ||
"etag": "W/\"636462502180261859\"", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"parameters": { | ||
"param1": "value1" | ||
}, | ||
"upgradePolicy": { | ||
"upgradeMode": "Monitored", | ||
"applicationHealthPolicy": { | ||
"considerWarningAsError": true, | ||
"maxPercentUnhealthyDeployedApplications": 0, | ||
"defaultServiceTypeHealthPolicy": { | ||
"maxPercentUnhealthyServices": 0, | ||
"maxPercentUnhealthyPartitionsPerService": 0, | ||
"maxPercentUnhealthyReplicasPerPartition": 0 | ||
} | ||
}, | ||
"rollingUpgradeMonitoringPolicy": { | ||
"failureAction": "Rollback", | ||
"healthCheckRetryTimeout": "00:10:00", | ||
"healthCheckWaitDuration": "00:02:00", | ||
"healthCheckStableDuration": "00:05:00", | ||
"upgradeDomainTimeout": "1.06:00:00", | ||
"upgradeTimeout": "01:00:00" | ||
}, | ||
"upgradeReplicaSetCheckTimeout": "01:00:00", | ||
"forceRestart": false | ||
}, | ||
"maximumNodes": 3, | ||
"minimumNodes": 1, | ||
"removeApplicationCapacity": false, | ||
"metrics": [ | ||
{ | ||
"name": "metric1", | ||
"reservationCapacity": 1, | ||
"maximumCapacity": 3, | ||
"totalApplicationCapacity": 5 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...crosoft.ServiceFabric/stable/2021-06-01/examples/ApplicationPutOperation_example_min.json
This file contains 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,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2021-06-01", | ||
"parameters": { | ||
"location": "eastus", | ||
"tags": {}, | ||
"properties": { | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"removeApplicationCapacity": false | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": "10", | ||
"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" | ||
}, | ||
"body": { | ||
"type": "applications", | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp", | ||
"name": "myCluster", | ||
"tags": {}, | ||
"etag": "W/\"636462502180261857\"", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"typeName": "myAppType", | ||
"typeVersion": "1.0", | ||
"removeApplicationCapacity": false | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
....ServiceFabric/stable/2021-06-01/examples/ApplicationTypeNameDeleteOperation_example.json
This file contains 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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationTypeName": "myAppType", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": "10", | ||
"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" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...oft.ServiceFabric/stable/2021-06-01/examples/ApplicationTypeNameGetOperation_example.json
This file contains 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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationTypeName": "myAppType", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"type": "applicationTypes", | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType", | ||
"name": "myCluster", | ||
"tags": {}, | ||
"etag": "W/\"636462502174844831\"", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.