-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
get.json
28 lines (28 loc) · 1.1 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
{
"operationId": "Secret_Get",
"description": "This example shows how to get a secret resource. If the secret resource exists, its description is returned along with an OK (200) status code. If the secret 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",
"secretResourceName": "dbConnectionString"
},
"responses": {
"200": {
"body": {
"type": "Microsoft.ServiceFabricMesh/secrets",
"location": "EastUS",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/secrets/dbConnectionString",
"name": "dbConnectionString",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"kind": "inlinedValue",
"contentType": "text/plain",
"description": "Mongo DB connection string for backend database!",
"status": "Ready"
}
}
}
}
}