-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding service fabric api version 2020-12-01-preview - rebased with m…
…aster (#11614)
- Loading branch information
1 parent
3cf56bc
commit bd78a2e
Showing
36 changed files
with
6,634 additions
and
2 deletions.
There are no files selected for viewing
2,333 changes: 2,333 additions & 0 deletions
2,333
...bric/resource-manager/Microsoft.ServiceFabric/preview/2020-12-01-preview/application.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,690 changes: 1,690 additions & 0 deletions
1,690
...cefabric/resource-manager/Microsoft.ServiceFabric/preview/2020-12-01-preview/cluster.json
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...ServiceFabric/preview/2020-12-01-preview/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": "2020-12-01-preview" | ||
}, | ||
"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=2020-12-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...ft.ServiceFabric/preview/2020-12-01-preview/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": "2020-12-01-preview" | ||
}, | ||
"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
...t.ServiceFabric/preview/2020-12-01-preview/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": "2020-12-01-preview" | ||
}, | ||
"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": "" | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
....ServiceFabric/preview/2020-12-01-preview/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,53 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2020-12-01-preview", | ||
"parameters": { | ||
"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=2020-12-01-preview" | ||
}, | ||
"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 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
108 changes: 108 additions & 0 deletions
108
...erviceFabric/preview/2020-12-01-preview/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,108 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2020-12-01-preview", | ||
"parameters": { | ||
"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=2020-12-01-preview" | ||
}, | ||
"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 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...erviceFabric/preview/2020-12-01-preview/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,38 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2020-12-01-preview", | ||
"parameters": { | ||
"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=2020-12-01-preview" | ||
}, | ||
"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
...abric/preview/2020-12-01-preview/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": "2020-12-01-preview" | ||
}, | ||
"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=2020-12-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ceFabric/preview/2020-12-01-preview/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": "2020-12-01-preview" | ||
}, | ||
"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.