Skip to content
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

Adding service fabric api version 2020-12-01-preview - rebased with master #11614

Merged
merged 13 commits into from
Feb 23, 2021

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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": {}
}
}
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
}
]
}
}
}
}
}
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": ""
}
}
}
}
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
}
]
}
}
}
}
}
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
}
]
}
}
}
}
}
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
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
Loading