Skip to content

Commit

Permalink
CodeGen from PR 13779 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Review request for Microsoft.SecurityInsights to add onboarding states resource type to preview/2021-03-01-preview (#13779)

* Add Sentinel onboarding states resource type

* Fix param name

* Fix Avocado

* Fix spell check

* Fix prettier

* Fix LintDiff

* Fix lintDiff 2

* Fix lintDiff 3

* Fix lintDiff 4

* Fix lintDiff 5

* Fix lintDiff 6

* Fix lintDiff 7

* Fix lintDiff 8

* Fix prettier

* Rename onboarding state properties

* Add GetAll

* Fix example file name

* Fix incorrect cloud error ref

* Fix GetAll example
  • Loading branch information
SDKAuto committed May 5, 2021
1 parent de6d34d commit 14667c6
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/2019-08-01/tenantDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -716,4 +716,4 @@
"description": "Output copy"
}
}
}
}
60 changes: 60 additions & 0 deletions schemas/2021-03-01-preview/Microsoft.SecurityInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,49 @@
],
"description": "Microsoft.SecurityInsights/dataConnectors"
},
"onboardingStates": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-03-01-preview"
]
},
"etag": {
"type": "string",
"description": "Etag of the azure resource"
},
"name": {
"type": "string",
"description": "The Sentinel onboarding state name. Supports - default"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SentinelOnboardingStateProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The Sentinel onboarding state properties"
},
"type": {
"type": "string",
"enum": [
"Microsoft.SecurityInsights/onboardingStates"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.SecurityInsights/onboardingStates"
},
"settings": {
"type": "object",
"oneOf": [
Expand Down Expand Up @@ -1724,6 +1767,23 @@
},
"description": "Required permissions for the connector"
},
"SentinelOnboardingStateProperties": {
"type": "object",
"properties": {
"customerManagedKey": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Flag that indicates the status of the CMK setting"
}
},
"description": "The Sentinel onboarding state properties"
},
"TIDataConnector": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 14667c6

Please sign in to comment.