Skip to content

Commit

Permalink
CodeGen from PR 13014 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge edf9281f9217befc0999cfef0be552c2879ffc69 into 070e139c4ca21b62c076ecd8fe8c2b1c2a132289
  • Loading branch information
SDKAuto committed Feb 17, 2021
1 parent 5cce369 commit 2e0e826
Show file tree
Hide file tree
Showing 10 changed files with 181 additions and 36 deletions.
2 changes: 1 addition & 1 deletion schemas/2015-06-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -703,4 +703,4 @@
"description": "Represents a machine that is part of a VM/server group"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-08-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -1557,4 +1557,4 @@
"description": "Workspace setting data"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-06-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
"description": "Pricing properties for the relevant scope"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-01-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -899,4 +899,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@
"description": "Represents a data export setting"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-08-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -931,4 +931,4 @@
"description": "Properties of the IoT Security solution's user defined resources."
}
}
}
}
29 changes: 1 addition & 28 deletions schemas/2020-01-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,6 @@
"type"
],
"description": "Microsoft.Security/connectors"
},
"securityContacts": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-01-01-preview"
]
},
"name": {
"type": "string",
"description": "Name of the security contact object"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/securityContacts"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "Microsoft.Security/securityContacts"
}
},
"definitions": {
Expand Down Expand Up @@ -320,4 +293,4 @@
"description": "Details of the service principal."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -1236,4 +1236,4 @@
"description": "Represents a machine that is part of a machine group"
}
}
}
}
65 changes: 65 additions & 0 deletions schemas/2020-07-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"id": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Security.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Security",
"description": "Microsoft Security Resource Types",
"resourceDefinitions": {},
"unknown_resourceDefinitions": {
"sqlVulnerabilityAssessments_baselineRules": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-07-01-preview"
]
},
"latestScan": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Take results from latest scan."
},
"name": {
"type": "string",
"description": "The rule Id."
},
"results": {
"oneOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Expected results to be inserted into the baseline.\r\nLeave this field empty it LatestScan == true."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/sqlVulnerabilityAssessments/baselineRules"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "Microsoft.Security/sqlVulnerabilityAssessments/baselineRules"
}
},
"definitions": {}
}
109 changes: 108 additions & 1 deletion schemas/2020-08-06-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,33 @@
"type"
],
"description": "Microsoft.Security/iotDefenderSettings"
},
"onPremiseIotSensors": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-08-06-preview"
]
},
"name": {
"type": "string",
"description": "Name of the on-premise IoT sensor"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/onPremiseIotSensors"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "Microsoft.Security/onPremiseIotSensors"
}
},
"unknown_resourceDefinitions": {
Expand Down Expand Up @@ -86,6 +113,47 @@
"type"
],
"description": "Microsoft.Security/iotSensors"
},
"iotSites": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-08-06-preview"
]
},
"name": {
"type": "string",
"enum": [
"default"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/IotSiteProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "IoT site properties"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/iotSites"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Security/iotSites"
}
},
"definitions": {
Expand Down Expand Up @@ -128,6 +196,17 @@
"IotSensorProperties": {
"type": "object",
"properties": {
"isEnterpriseSensor": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Is type of sensor is enterprise IoT sensor"
},
"tiAutomaticUpdates": {
"oneOf": [
{
Expand All @@ -145,6 +224,34 @@
}
},
"description": "IoT sensor properties"
},
"IotSiteProperties": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "Display name of the IoT site"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Tags of the IoT site"
}
},
"required": [
"displayName"
],
"description": "IoT site properties"
}
}
}
}

0 comments on commit 2e0e826

Please sign in to comment.