-
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.
[Hub Generated] Review request for Microsoft.ServiceFabric to add ver…
…sion preview/2023-07-01-preview (#25002) * copy from 2023-03-01-preview * update specs with api 2023-07-01-preview * update examples * remove ddosProtectionPlanId * fix example names * run prettier * fix ManagedApplyMaintenanceWindowPut_example response * fix spell check * add headers in 202 responses * fix cSpell path * fix casting * add suppressions rules * add ddosProtectionPlanId * fix ARM comments --------- Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
- Loading branch information
1 parent
19e1a44
commit 80c21c1
Showing
64 changed files
with
10,877 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...ServiceFabric/preview/2023-07-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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2023-07-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=2023-07-01-preview" | ||
} | ||
}, | ||
"204": {}, | ||
"200": {} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...ft.ServiceFabric/preview/2023-07-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,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2023-07-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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...t.ServiceFabric/preview/2023-07-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,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"api-version": "2023-07-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": "" | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
....ServiceFabric/preview/2023-07-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,66 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2023-07-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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
156 changes: 156 additions & 0 deletions
156
...erviceFabric/preview/2023-07-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,156 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"clusterName": "myCluster", | ||
"applicationName": "myApp", | ||
"api-version": "2023-07-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=2023-07-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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.