Skip to content

Commit

Permalink
add x-ms-enum to security (#17426)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored Feb 23, 2022
1 parent ea6bb1c commit 8aa184e
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@
"Resolve",
"Close"
],
"x-ms-enum": {
"name": "TaskUpdateActionType",
"modelAsString": true
},
"description": "Type of the action to do on the task",
"x-ms-parameter-location": "method"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@
"effective",
"custom"
],
"x-ms-enum": {
"name": "InformationProtectionPolicyName",
"modelAsString": true
},
"description": "Name of the information protection policy.",
"x-ms-parameter-location": "method"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@
"enum": [
"current"
],
"x-ms-enum": {
"name": "AdvancedThreatProtectionSettingName",
"modelAsString": false
},
"description": "Advanced Threat Protection setting name.",
"x-ms-parameter-location": "method"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@
"enum": [
"enforce"
],
"x-ms-enum": {
"name": "AdaptiveNetworkHardeningEnforceAction",
"modelAsString": false
},
"x-ms-parameter-location": "method"
},
"AdaptiveNetworkHardeningEnforceRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@
"enum": [
"initiate"
],
"x-ms-enum": {
"name": "JitNetworkAccessPolicyInitiateType",
"modelAsString": false
},
"x-ms-parameter-location": "method"
},
"JitNetworkAccessPolicyInitiateRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@
"type": "string",
"enum": [
"default"
]
],
"x-ms-enum": {
"name": "ServerVulnerabilityAssessmentName",
"modelAsString": false
}
},
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down Expand Up @@ -210,7 +214,11 @@
"type": "string",
"enum": [
"default"
]
],
"x-ms-enum": {
"name": "ServerVulnerabilityAssessmentName",
"modelAsString": false
}
},
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down Expand Up @@ -282,7 +290,11 @@
"type": "string",
"enum": [
"default"
]
],
"x-ms-enum": {
"name": "ServerVulnerabilityAssessmentName",
"modelAsString": false
}
},
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@
"WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW",
"Sentinel"
],
"x-ms-enum": {
"name": "SettingName",
"modelAsString": true
},
"x-ms-parameter-location": "method"
},
"Setting": {
Expand Down

0 comments on commit 8aa184e

Please sign in to comment.