-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
get.json
55 lines (55 loc) · 1.94 KB
/
get.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
55
{
"operationId": "Service_Get",
"description": "This example shows how to get a service resource for a given application. If the service resource exists, its description is returned along with an OK (200) status code. If the service resource does not exist, an error is returned with an appropriate status code.",
"parameters": {
"api-version": "2018-09-01-privatepreview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "sbz_demo",
"applicationResourceName": "sampleApplication",
"serviceResourceName": "helloWorldService"
},
"responses": {
"200": {
"body": {
"name": "helloWorldService",
"type": "Microsoft.ServiceFabricMesh/services",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/sampleApplication/services/helloWorldService",
"properties": {
"description": "SeaBreeze Hello World Service.",
"osType": "Linux",
"codePackages": [
{
"name": "helloWorldCode",
"image": "seabreeze/sbz-helloworld:1.0-alpine",
"endpoints": [
{
"name": "helloWorldListener",
"port": 80
}
],
"resources": {
"requests": {
"memoryInGB": 1,
"cpu": 1
}
}
}
],
"networkRefs": [
{
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks/sampleNetwork",
"endpointRefs": [
{
"name": "helloWorldListener"
}
]
}
],
"replicaCount": 1,
"healthState": "Ok",
"status": "Ready"
}
}
}
}
}