-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DatabaseVulnerabilityAssessments swagger (#3275)
* Add DatabaseVulnerabilityAssessments swagger The put api is updated. A new parameter is added to its body properties storageAccountAccessKey. storageContainerSasKey isn't required anymore, but the user must to specified one of the following parameters: storageContainerSasKey or storageAccountAccessKey * Add two missing example files * update databaseVulnerabilityAssessments for version 2017-03 add storageContainerPath to properties as optional parameters * Revert "update databaseVulnerabilityAssessments for version 2017-03" This reverts commit 7f90a83. * Revert "Add DatabaseVulnerabilityAssessments swagger" This reverts commit 9f34855. * Revert "Add two missing example files" This reverts commit 660b2f7. * Update databaseVulnerabilityAssessments 2017-03-01 swagger The put api is updated. A new parameter is added to its body properties storageAccountAccessKey. storageContainerSasKey isn't required anymore, but the user must to specified one of the following parameters: storageContainerSasKey or storageAccountAccessKey * Clean non required params in version 10-2017 clean databaseVulnerabilityAssessmentScans * fix error in execute scan example
- Loading branch information
Showing
6 changed files
with
65 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
48 changes: 48 additions & 0 deletions
48
...eview/2017-03-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageKeyMin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "vulnerabilityaseessmenttest-4799", | ||
"serverName": "vulnerabilityaseessmenttest-6440", | ||
"databaseName": "testdb", | ||
"vulnerabilityAssessmentName": "default", | ||
"api-version": "2017-03-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", | ||
"storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", | ||
"name": "default", | ||
"type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", | ||
"properties": { | ||
"storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", | ||
"recurringScans": { | ||
"isEnabled": true, | ||
"emailSubscriptionAdmins": false, | ||
"emails": [] | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Sql/servers/vulnerabilityaseessmenttest-6440/databases/testdb/vulnerabilityAssessments/default", | ||
"name": "default", | ||
"type": "Microsoft.Sql/servers/databases/vulnerabilityAssessments", | ||
"properties": { | ||
"storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", | ||
"recurringScans": { | ||
"isEnabled": true, | ||
"emailSubscriptionAdmins": false, | ||
"emails": [] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters