File tree Expand file tree Collapse file tree 2 files changed +96
-0
lines changed
specification/app/resource-manager/Microsoft.App/stable/2022-03-01 Expand file tree Collapse file tree 2 files changed +96
-0
lines changed Original file line number Diff line number Diff line change 231231 },
232232 "x-ms-long-running-operation" : false
233233 }
234+ },
235+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}/listSecrets" : {
236+ "post" : {
237+ "tags" : [
238+ " DaprComponents"
239+ ],
240+ "summary" : " List secrets for a dapr component" ,
241+ "operationId" : " DaprComponents_ListSecrets" ,
242+ "parameters" : [
243+ {
244+ "$ref" : " ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
245+ },
246+ {
247+ "$ref" : " ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
248+ },
249+ {
250+ "name" : " environmentName" ,
251+ "in" : " path" ,
252+ "description" : " Name of the Managed Environment." ,
253+ "required" : true ,
254+ "type" : " string"
255+ },
256+ {
257+ "name" : " name" ,
258+ "in" : " path" ,
259+ "description" : " Name of the Dapr Component." ,
260+ "required" : true ,
261+ "type" : " string"
262+ },
263+ {
264+ "$ref" : " ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
265+ }
266+ ],
267+ "responses" : {
268+ "200" : {
269+ "description" : " OK" ,
270+ "schema" : {
271+ "$ref" : " #/definitions/DaprSecretsCollection"
272+ }
273+ },
274+ "default" : {
275+ "description" : " Common error response." ,
276+ "schema" : {
277+ "$ref" : " ./CommonDefinitions.json#/definitions/DefaultErrorResponse"
278+ }
279+ }
280+ },
281+ "x-ms-examples" : {
282+ "List Container Apps Secrets" : {
283+ "$ref" : " ./examples/DaprComponents_ListSecrets.json"
284+ }
285+ }
286+ }
234287 }
235288 },
236289 "definitions" : {
333386 "type" : " string"
334387 }
335388 }
389+ },
390+ "DaprSecretsCollection" : {
391+ "description" : " Dapr component Secrets Collection ARM resource." ,
392+ "required" : [
393+ " value"
394+ ],
395+ "type" : " object" ,
396+ "properties" : {
397+ "value" : {
398+ "description" : " Collection of secrets used by a Dapr component" ,
399+ "type" : " array" ,
400+ "items" : {
401+ "$ref" : " ./CommonDefinitions.json#/definitions/Secret"
402+ },
403+ "x-ms-identifiers" : [
404+ " name"
405+ ]
406+ }
407+ }
336408 }
337409 },
338410 "securityDefinitions" : {
Original file line number Diff line number Diff line change 1+ {
2+ "parameters" : {
3+ "subscriptionId" : " 8efdecc5-919e-44eb-b179-915dca89ebf9" ,
4+ "resourceGroupName" : " examplerg" ,
5+ "environmentName" : " myenvironment" ,
6+ "name" : " reddog" ,
7+ "api-version" : " 2022-03-01"
8+ },
9+ "responses" : {
10+ "200" : {
11+ "headers" : {},
12+ "body" : {
13+ "value" : [
14+ {
15+ "name" : " secret1"
16+ },
17+ {
18+ "name" : " secret2"
19+ }
20+ ]
21+ }
22+ }
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments