Skip to content

Commit

Permalink
Add On Premise Sql Resource Details (Azure#10041)
Browse files Browse the repository at this point in the history
* Add On Premise Sql Resource Details

* Create new API version

* Remove OnPremiseSql for old version

* Add changes to readme file

* Add API Example

* Add new ResourceDetails type for subassessment

* Add examples
Changed the version type to stable

* Changed readme file

* fixed object defintion probleam.
add new version to ruby.

* Removed the new version

* removed files
  • Loading branch information
shimonar1171 authored and 00Kai0 committed Oct 12, 2020
1 parent 47d69aa commit 5aa5ed1
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion specification/security/resource-manager/common/v1/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
"description": "The platform where the assessed resource resides",
"enum": [
"Azure",
"OnPremise"
"OnPremise",
"OnPremiseSql"
],
"x-ms-enum": {
"name": "source",
Expand All @@ -182,6 +183,10 @@
{
"value": "OnPremise",
"description": "Resource in an on premise machine connected to Azure cloud"
},
{
"value": "OnPremiseSql",
"description": "SQL Resource in an on premise machine connected to Azure cloud"
}
]
}
Expand Down Expand Up @@ -242,6 +247,30 @@
"machineName"
]
},
"OnPremiseSqlResourceDetails": {
"type": "object",
"description": "Details of the On Premise Sql resource that was assessed",
"x-ms-discriminator-value": "OnPremiseSql",
"allOf": [
{
"$ref": "#/definitions/OnPremiseResourceDetails"
}
],
"properties": {
"serverName": {
"type": "string",
"description": "The Sql server name installed on the machine"
},
"databaseName": {
"type": "string",
"description": "The Sql database name installed on the machine"
}
},
"required": [
"serverName",
"databaseName"
]
},
"AzureResourceLinks": {
"description": "array of azure resource IDs",
"readOnly": true,
Expand Down

0 comments on commit 5aa5ed1

Please sign in to comment.