Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfredo Santamaria Gomez committed Sep 13, 2023
1 parent 5330549 commit 4b9057d
Show file tree
Hide file tree
Showing 66 changed files with 410 additions and 123 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp"
},
"responses": {
"202": {
"headers": {
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview",
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview"
}
},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-09-01-preview",
"parameters": {
"upgradeDomainName": "upgradeDomainName"
}
},
"responses": {
"202": {
"headers": {
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview",
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview"
}
},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp"
},
"responses": {
"202": {
"headers": {
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview",
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview"
}
},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-09-01-preview",
"parameters": {
"upgradeKind": "Rolling",
"name": "fabric:/Voting",
"updateDescription": {
"rollingUpgradeMode": "Monitored",
"forceRestart": true,
"failureAction": "Manual",
"healthCheckWaitDurationInMilliseconds": "PT0H0M10S",
"healthCheckStableDurationInMilliseconds": "PT1H0M0S",
"healthCheckRetryTimeoutInMilliseconds": "PT0H15M0S",
"upgradeTimeoutInMilliseconds": "PT2H0M0S",
"upgradeDomainTimeoutInMilliseconds": "PT2H0M0S"
},
"applicationHealthPolicy": {
"considerWarningAsError": true,
"maxPercentUnhealthyDeployedApplications": 10,
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyPartitionsPerService": 10,
"maxPercentUnhealthyReplicasPerPartition": 11,
"maxPercentUnhealthyServices": 12
},
"serviceTypeHealthPolicyMap": {
"VotingWeb": {
"maxPercentUnhealthyPartitionsPerService": 13,
"maxPercentUnhealthyReplicasPerPartition": 14,
"maxPercentUnhealthyServices": 15
}
}
}
}
},
"responses": {
"202": {
"headers": {
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview",
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview"
}
},
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-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"
"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-09-01-preview"
}
},
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"tags": {
"a": "b"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"location": "eastus",
"tags": {
Expand All @@ -25,7 +25,7 @@
"maxPercentUnhealthyReplicasPerPartition": 0
},
"serviceTypeHealthPolicyMap": {
"myService": {
"service1": {
"maxPercentUnhealthyReplicasPerPartition": 30,
"maxPercentUnhealthyPartitionsPerService": 30,
"maxPercentUnhealthyServices": 30
Expand Down Expand Up @@ -103,7 +103,7 @@
"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"
"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-09-01-preview"
},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applications",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"location": "eastus",
"properties": {
Expand Down Expand Up @@ -63,7 +63,7 @@
"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=2023-07-01-preview"
"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=2023-09-01-preview"
},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applications",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-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=2023-07-01-preview"
"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=2023-09-01-preview"
}
},
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"tags": {
"a": "b"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"location": "eastus"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"version": "1.0",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-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/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2023-07-01-preview"
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2023-09-01-preview"
}
},
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"version": "1.0",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"version": "1.0",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"tags": {
"a": "b"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clusterName": "myCluster",
"applicationTypeName": "myAppType",
"version": "1.0",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"location": "eastus",
"properties": {
Expand All @@ -29,7 +29,7 @@
"202": {
"headers": {
"Retry-After": "10",
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2023-07-01-preview"
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2023-09-01-preview"
},
"body": {
"type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"nodeTypeName": "BE",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"parameters": {
"nodes": [
"BE_0",
Expand All @@ -15,8 +15,8 @@
"responses": {
"202": {
"headers": {
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview",
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview"
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview",
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview"
}
},
"200": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"operationId": "00000000-0000-0000-0000-000000001234"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"operationId": "00000000-0000-0000-0000-000000001234"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus",
"api-version": "2023-07-01-preview",
"api-version": "2023-09-01-preview",
"operationId": "00000000-0000-0000-0000-000000001234"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resourceGroup1",
"clusterName": "mycluster1",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"202": {
"headers": {
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview"
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-09-01-preview"
}
},
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"api-version": "2023-07-01-preview"
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
Expand Down
Loading

0 comments on commit 4b9057d

Please sign in to comment.