Skip to content

Commit

Permalink
Service Fabric Managed Clusters - api version 2022-02-01-preview (Azu…
Browse files Browse the repository at this point in the history
…re#17883)

* initial commit copy from 2022-01-01

* update specs with api version 2022-02-01-preview

update readme with version 2022-02-preview

add missing x-ms-enum and add azresiliencystatus to custom words

add x-ms-identifiers to arrays

fix x-ms-identifiers

* change /azresiliencystatus to post

* change parameter name to isSpotVM

* change path to getazresiliencystatus as suggested by ARM

* fix custom word getazresiliencystatus

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
  • Loading branch information
2 people authored and FredericHeem committed May 16, 2022
1 parent 49810b9 commit 6332295
Show file tree
Hide file tree
Showing 58 changed files with 9,845 additions and 1 deletion.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2518,3 +2518,4 @@ Quickbase
Smartsheet
Qualys
servermetrics
getazresiliencystatus
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2022-02-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=2022-02-01-preview"
}
},
"204": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2022-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
"name": "myApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
"parameters": {
"param1": "value1"
},
"upgradePolicy": {
"applicationHealthPolicy": {
"considerWarningAsError": true,
"maxPercentUnhealthyDeployedApplications": 0,
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0,
"maxPercentUnhealthyPartitionsPerService": 0,
"maxPercentUnhealthyReplicasPerPartition": 0
},
"serviceTypeHealthPolicyMap": {
"service1": {
"maxPercentUnhealthyReplicasPerPartition": 30,
"maxPercentUnhealthyPartitionsPerService": 30,
"maxPercentUnhealthyServices": 30
}
}
},
"rollingUpgradeMonitoringPolicy": {
"failureAction": "Rollback",
"healthCheckRetryTimeout": "00:10:00",
"healthCheckWaitDuration": "00:02:00",
"healthCheckStableDuration": "00:05:00",
"upgradeDomainTimeout": "00:15:00",
"upgradeTimeout": "01:00:00"
},
"upgradeReplicaSetCheckTimeout": 3600,
"forceRestart": false,
"instanceCloseDelayDuration": 600,
"upgradeMode": "UnmonitoredAuto",
"recreateApplication": false
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2022-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"type": "Microsoft.ServiceFabric/managedClusters/applications",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
"name": "myApp",
"properties": {
"provisioningState": "Updating",
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0"
}
}
],
"nextLink": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2022-02-01-preview",
"parameters": {
"tags": {
"a": "b"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
"name": "myApp",
"tags": {
"a": "b"
},
"properties": {
"provisioningState": "Succeeded",
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
"parameters": {
"param1": "value1"
},
"upgradePolicy": {
"applicationHealthPolicy": {
"considerWarningAsError": true,
"maxPercentUnhealthyDeployedApplications": 0,
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0,
"maxPercentUnhealthyPartitionsPerService": 0,
"maxPercentUnhealthyReplicasPerPartition": 0
},
"serviceTypeHealthPolicyMap": {
"service1": {
"maxPercentUnhealthyReplicasPerPartition": 30,
"maxPercentUnhealthyPartitionsPerService": 30,
"maxPercentUnhealthyServices": 30
}
}
},
"rollingUpgradeMonitoringPolicy": {
"failureAction": "Rollback",
"healthCheckRetryTimeout": "00:10:00",
"healthCheckWaitDuration": "00:02:00",
"healthCheckStableDuration": "00:05:00",
"upgradeDomainTimeout": "00:15:00",
"upgradeTimeout": "01:00:00"
},
"upgradeReplicaSetCheckTimeout": 3600,
"forceRestart": false,
"instanceCloseDelayDuration": 600,
"upgradeMode": "UnmonitoredAuto",
"recreateApplication": false
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2022-02-01-preview",
"parameters": {
"location": "eastus",
"tags": {
"a": "b"
},
"properties": {
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
"parameters": {
"param1": "value1"
},
"upgradePolicy": {
"applicationHealthPolicy": {
"considerWarningAsError": true,
"maxPercentUnhealthyDeployedApplications": 0,
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0,
"maxPercentUnhealthyPartitionsPerService": 0,
"maxPercentUnhealthyReplicasPerPartition": 0
},
"serviceTypeHealthPolicyMap": {
"myService": {
"maxPercentUnhealthyReplicasPerPartition": 30,
"maxPercentUnhealthyPartitionsPerService": 30,
"maxPercentUnhealthyServices": 30
}
}
},
"rollingUpgradeMonitoringPolicy": {
"failureAction": "Rollback",
"healthCheckRetryTimeout": "00:10:00",
"healthCheckWaitDuration": "00:02:00",
"healthCheckStableDuration": "00:05:00",
"upgradeDomainTimeout": "00:15:00",
"upgradeTimeout": "01:00:00"
},
"upgradeReplicaSetCheckTimeout": 3600,
"forceRestart": false,
"instanceCloseDelayDuration": 600,
"upgradeMode": "UnmonitoredAuto",
"recreateApplication": false
}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
"name": "myApp",
"tags": {
"a": "b"
},
"properties": {
"provisioningState": "Creating",
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
"parameters": {
"param1": "value1"
},
"upgradePolicy": {
"applicationHealthPolicy": {
"considerWarningAsError": true,
"maxPercentUnhealthyDeployedApplications": 0,
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0,
"maxPercentUnhealthyPartitionsPerService": 0,
"maxPercentUnhealthyReplicasPerPartition": 0
},
"serviceTypeHealthPolicyMap": {
"service1": {
"maxPercentUnhealthyReplicasPerPartition": 30,
"maxPercentUnhealthyPartitionsPerService": 30,
"maxPercentUnhealthyServices": 30
}
}
},
"rollingUpgradeMonitoringPolicy": {
"failureAction": "Rollback",
"healthCheckRetryTimeout": "00:10:00",
"healthCheckWaitDuration": "00:02:00",
"healthCheckStableDuration": "00:05:00",
"upgradeDomainTimeout": "00:15:00",
"upgradeTimeout": "01:00:00"
},
"upgradeReplicaSetCheckTimeout": 3600,
"forceRestart": false,
"instanceCloseDelayDuration": 600,
"upgradeMode": "UnmonitoredAuto",
"recreateApplication": false
}
}
}
},
"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=2022-02-01-preview"
},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applications",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
"name": "myApp",
"tags": {
"a": "b"
},
"properties": {
"provisioningState": "Updating",
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0",
"parameters": {
"param1": "value1"
},
"upgradePolicy": {
"applicationHealthPolicy": {
"considerWarningAsError": true,
"maxPercentUnhealthyDeployedApplications": 0,
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0,
"maxPercentUnhealthyPartitionsPerService": 0,
"maxPercentUnhealthyReplicasPerPartition": 0
},
"serviceTypeHealthPolicyMap": {
"service1": {
"maxPercentUnhealthyReplicasPerPartition": 30,
"maxPercentUnhealthyPartitionsPerService": 30,
"maxPercentUnhealthyServices": 30
}
}
},
"rollingUpgradeMonitoringPolicy": {
"failureAction": "Rollback",
"healthCheckRetryTimeout": "00:10:00",
"healthCheckWaitDuration": "00:02:00",
"healthCheckStableDuration": "00:05:00",
"upgradeDomainTimeout": "00:15:00",
"upgradeTimeout": "01:00:00"
},
"upgradeReplicaSetCheckTimeout": 3600,
"forceRestart": false,
"instanceCloseDelayDuration": 600,
"upgradeMode": "UnmonitoredAuto",
"recreateApplication": false
}
}
}
}
}
}
Loading

0 comments on commit 6332295

Please sign in to comment.