-
Notifications
You must be signed in to change notification settings - Fork 5k
/
ServicePatchOperation_example.json
54 lines (54 loc) · 1.6 KB
/
ServicePatchOperation_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"applicationName": "myApp",
"serviceName": "myService",
"api-version": "2021-06-01",
"parameters": {
"tags": {},
"properties": {
"serviceKind": "Stateless",
"serviceLoadMetrics": [
{
"name": "metric1",
"weight": "Low"
}
]
}
}
},
"responses": {
"202": {
"headers": {
"Retry-After": "10",
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/4dde8d8b-b6b2-4c56-99c6-9b83932bb09a?api-version=2021-06-01"
},
"body": {
"type": "services",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService",
"name": "myCluster",
"tags": {},
"etag": "W/\"636462502183671257\"",
"properties": {
"provisioningState": "Updating",
"serviceKind": "Stateless",
"serviceTypeName": "myServiceType",
"partitionDescription": {
"partitionScheme": "Singleton"
},
"serviceLoadMetrics": [
{
"name": "metric1",
"weight": "Low"
}
],
"instanceCount": 1,
"servicePackageActivationMode": "SharedProcess"
}
}
}
}
}