Skip to content

Commit ba76bb1

Browse files
committed
Used model as string enums
1 parent ad65e7c commit ba76bb1

File tree

1 file changed

+38
-2
lines changed
  • specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01

1 file changed

+38
-2
lines changed

specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/service.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11654,11 +11654,47 @@
1165411654
},
1165511655
"extendedLocationMappings": {
1165611656
"description": "A value indicating whether the Extended Location mappings are to be returned.",
11657-
"type": "string"
11657+
"type": "string",
11658+
"enum": [
11659+
"ExtendedLocationMappings eq 'true'",
11660+
"ExtendedLocationMappings eq 'false'"
11661+
],
11662+
"x-ms-enum": {
11663+
"name": "ExtendedLocationMappingsState",
11664+
"modelAsString": true,
11665+
"values": [
11666+
{
11667+
"value": "ExtendedLocationMappings eq 'true'",
11668+
"description": "Filter expression to include extendedLocationMappings."
11669+
},
11670+
{
11671+
"value": "ExtendedLocationMappings eq 'false'",
11672+
"description": "Filter expression to exclude extendedLocationMappings."
11673+
}
11674+
]
11675+
}
1165811676
},
1165911677
"locationDetails": {
1166011678
"description": "A value indicating whether the location details are to be returned.",
11661-
"type": "string"
11679+
"type": "string",
11680+
"enum": [
11681+
"LocationDetails eq 'true'",
11682+
"LocationDetails eq 'false'"
11683+
],
11684+
"x-ms-enum": {
11685+
"name": "LocationDetailsState",
11686+
"modelAsString": true,
11687+
"values": [
11688+
{
11689+
"value": "LocationDetails eq 'true'",
11690+
"description": "Filter expression to include locationDetails."
11691+
},
11692+
{
11693+
"value": "LocationDetails eq 'false'",
11694+
"description": "Filter expression to exclude locationDetails."
11695+
}
11696+
]
11697+
}
1166211698
},
1166311699
"fetchAgentDetails": {
1166411700
"description": "A value indicating whether the agent details are to be fetched.",

0 commit comments

Comments
 (0)