-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
get.json
79 lines (79 loc) · 2.62 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"operationId": "Gateway_Get",
"description": "This example shows how to get a gateway resource. If the gateway resource exists, its description is returned along with an OK (200) status code. If the gateway 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",
"gatewayResourceName": "sampleGateway"
},
"responses": {
"200": {
"body": {
"type": "Microsoft.ServiceFabricMesh/gateways",
"location": "EastUS",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/gateways/sampleGateway",
"name": "sampleGateway",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Service Fabric Mesh sample gateway.",
"sourceNetwork": {
"name": "Open"
},
"destinationNetwork": {
"name": "helloWorldNetwork"
},
"tcp": [
{
"name": "web",
"port": 80,
"destination": {
"applicationName": "helloWorldApp",
"serviceName": "helloWorldService",
"endpointName": "helloWorldListener"
}
}
],
"http": [
{
"name": "contosoWebsite",
"port": 8081,
"hosts": [
{
"name": "contoso.com",
"routes": [
{
"name": "index",
"match": {
"path": {
"value": "/index",
"rewrite": "/",
"type": "prefix"
},
"headers": [
{
"name": "accept",
"value": "application/json",
"type": "exact"
}
]
},
"destination": {
"applicationName": "httpHelloWorldApp",
"serviceName": "indexService",
"endpointName": "indexHttpEndpoint"
}
}
]
}
]
}
],
"ipAddress": "192.168.1.1",
"status": "Ready"
}
}
}
}
}