Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package-composite-v5 tag to SqlVulnerabilityAssessment API #19953

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"SqlVulnerabilityAssessmentBaseline"
],
"description": "Add a database's vulnerability assessment rule baseline list.",
"operationId": "DatabaseSqlVulnerabilityAssessmentBaselines_CreateOrUpdate",
"operationId": "SqlVulnerabilityAssessmentBaselines_CreateOrUpdate",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"SqlVulnerabilityAssessmentRuleBaseline"
],
"description": "Removes the database's vulnerability assessment rule baseline.",
"operationId": "DatabaseSqlVulnerabilityAssessmentRuleBaselines_Delete",
"operationId": "SqlVulnerabilityAssessmentRuleBaselines_Delete",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter"
Expand Down
16 changes: 16 additions & 0 deletions specification/sql/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ module-name: sdk/resourcemanager/sql/armsql
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
directive:
- rename-model:
from: 'SqlVulnerabilityAssessmentScanRecord'
to: 'VulnerabilityAssessmentScanRecordForSql'
- rename-model:
from: 'SqlVulnerabilityAssessmentScanRecordListResult'
to: 'VulnerabilityAssessmentScanRecordForSqlListResult'
- rename-model:
from: 'SQLVulnerabilityAssessmentScanRecordProperties'
to: 'VulnerabilityAssessmentScanRecordForSqlProperties'
- rename-model:
from: 'SqlVulnerabilityAssessmentScanRecordProperties'
to: 'VulnerabilityAssessmentScanRecordForSqlProperties'
- rename-model:
from: 'SqlVulnerabilityAssessmentScanError'
to: 'VulnerabilityAssessmentScanForSqlError'
```
``` yaml $(go) && !$(track2)
Expand Down
12 changes: 12 additions & 0 deletions specification/sql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,10 +540,22 @@ input-file:
- ./Microsoft.Sql/preview/2021-11-01-preview/ServerAdvancedThreatProtectionSettings.json
- ./Microsoft.Sql/preview/2021-11-01-preview/ManagedServerDnsAliases.json
- ./Microsoft.Sql/preview/2022-02-01-preview/Databases.json
- ./Microsoft.Sql/preview/2022-02-01-preview/DatabaseSqlVulnerabilityAssessmentBaselines.json
- ./Microsoft.Sql/preview/2022-02-01-preview/DatabaseSqlVulnerabilityAssessmentExecuteScan.json
- ./Microsoft.Sql/preview/2022-02-01-preview/DatabaseSqlVulnerabilityAssessmentRuleBaselines.json
- ./Microsoft.Sql/preview/2022-02-01-preview/DatabaseSqlVulnerabilityAssessmentScanResult.json
- ./Microsoft.Sql/preview/2022-02-01-preview/DatabaseSqlVulnerabilityAssessmentScans.json
- ./Microsoft.Sql/preview/2022-02-01-preview/DatabaseSqlVulnerabilityAssessmentsSettings.json
- ./Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceDtcs.json
- ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabaseAdvancedThreatProtectionSettings.json
- ./Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceAdvancedThreatProtectionSettings.json
- ./Microsoft.Sql/preview/2022-02-01-preview/ReplicationLinks.json
- ./Microsoft.Sql/preview/2022-02-01-preview/SqlVulnerabilityAssessmentBaseline.json
- ./Microsoft.Sql/preview/2022-02-01-preview/SqlVulnerabilityAssessmentExecuteScan.json
- ./Microsoft.Sql/preview/2022-02-01-preview/SqlVulnerabilityAssessmentRuleBaseline.json
- ./Microsoft.Sql/preview/2022-02-01-preview/SqlVulnerabilityAssessmentScanResult.json
- ./Microsoft.Sql/preview/2022-02-01-preview/SqlVulnerabilityAssessmentScans.json
- ./Microsoft.Sql/preview/2022-02-01-preview/SqlVulnerabilityAssessmentsSettings.json
# Needed when there is more than one input file
Expand Down