Skip to content

Commit fe33114

Browse files
authored
add or modify files (#22342)
1 parent 519737a commit fe33114

File tree

1 file changed

+73
-7
lines changed
  • specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2022-11-01-preview

1 file changed

+73
-7
lines changed

specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2022-11-01-preview/servicelinker.json

Lines changed: 73 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,8 +1510,7 @@
15101510
"x-ms-enum": {
15111511
"name": "DeleteOrUpdateBehavior",
15121512
"modelAsString": true
1513-
},
1514-
"default": "Default"
1513+
}
15151514
},
15161515
"ClientType": {
15171516
"description": "The application client type",
@@ -1527,7 +1526,8 @@
15271526
"django",
15281527
"nodejs",
15291528
"springBoot",
1530-
"kafka-springBoot"
1529+
"kafka-springBoot",
1530+
"dapr"
15311531
],
15321532
"x-ms-enum": {
15331533
"name": "clientType",
@@ -2031,6 +2031,10 @@
20312031
"$ref": "#/definitions/AuthType",
20322032
"description": "The auth type."
20332033
},
2034+
"daprProperties": {
2035+
"description": "Indicates some additional properties for dapr client type",
2036+
"$ref": "#/definitions/DaprProperties"
2037+
},
20342038
"names": {
20352039
"type": "array",
20362040
"description": "The configuration names to be set in compute service environment.",
@@ -2050,6 +2054,10 @@
20502054
"description": {
20512055
"type": "string",
20522056
"description": "Description for the configuration name."
2057+
},
2058+
"required": {
2059+
"type": "boolean",
2060+
"description": "Represent the configuration is required or not"
20532061
}
20542062
}
20552063
},
@@ -2283,6 +2291,10 @@
22832291
"type": "string"
22842292
}
22852293
},
2294+
"daprProperties": {
2295+
"description": "Indicates some additional properties for dapr client type",
2296+
"$ref": "#/definitions/DaprProperties"
2297+
},
22862298
"additionalConfigurations": {
22872299
"description": "A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations",
22882300
"type": "object",
@@ -2292,6 +2304,62 @@
22922304
}
22932305
}
22942306
},
2307+
"DaprProperties": {
2308+
"type": "object",
2309+
"description": "Indicates some additional properties for dapr client type",
2310+
"properties": {
2311+
"version": {
2312+
"x-nullable": true,
2313+
"type": "string",
2314+
"description": "The dapr component version"
2315+
},
2316+
"componentType": {
2317+
"x-nullable": true,
2318+
"type": "string",
2319+
"description": "The dapr component type"
2320+
},
2321+
"secretStoreComponent": {
2322+
"x-nullable": true,
2323+
"type": "string",
2324+
"description": "The name of a secret store dapr to retrieve secret"
2325+
},
2326+
"metadata": {
2327+
"description": "Additional dapr metadata",
2328+
"type": "array",
2329+
"items": {
2330+
"$ref": "#/definitions/DaprMetadata"
2331+
},
2332+
"x-ms-identifiers": [
2333+
"name"
2334+
]
2335+
},
2336+
"scopes": {
2337+
"description": "The dapr component scopes",
2338+
"type": "array",
2339+
"items": {
2340+
"type": "string"
2341+
}
2342+
}
2343+
}
2344+
},
2345+
"DaprMetadata": {
2346+
"description": "The dapr component metadata.",
2347+
"type": "object",
2348+
"properties": {
2349+
"name": {
2350+
"description": "Metadata property name.",
2351+
"type": "string"
2352+
},
2353+
"value": {
2354+
"description": "Metadata property value.",
2355+
"type": "string"
2356+
},
2357+
"secretRef": {
2358+
"description": "The secret name where dapr could get value",
2359+
"type": "string"
2360+
}
2361+
}
2362+
},
22952363
"SecretStore": {
22962364
"type": "object",
22972365
"description": "An option to store secret value in secure place",
@@ -2541,8 +2609,7 @@
25412609
"x-ms-enum": {
25422610
"name": "actionType",
25432611
"modelAsString": true
2544-
},
2545-
"default": "enable"
2612+
}
25462613
},
25472614
"AllowType": {
25482615
"description": "Whether to allow firewall rules.",
@@ -2554,8 +2621,7 @@
25542621
"x-ms-enum": {
25552622
"name": "allowType",
25562623
"modelAsString": true
2557-
},
2558-
"default": "false"
2624+
}
25592625
}
25602626
},
25612627
"parameters": {

0 commit comments

Comments
 (0)