DatabaseVulnerabilityAssessments interface
Interface representing a DatabaseVulnerabilityAssessments.
Methods
create |
Creates or updates the database's vulnerability assessment. |
delete(string, string, string, string, Database |
Removes the database's vulnerability assessment. |
get(string, string, string, string, Database |
Gets the database's vulnerability assessment. |
list |
Lists the vulnerability assessment policies associated with a database. |
Method Details
createOrUpdate(string, string, string, string, DatabaseVulnerabilityAssessment, DatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams)
Creates or updates the database's vulnerability assessment.
function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, parameters: DatabaseVulnerabilityAssessment, options?: DatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<DatabaseVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the vulnerability assessment is defined.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- parameters
- DatabaseVulnerabilityAssessment
The requested resource.
The options parameters.
Returns
Promise<DatabaseVulnerabilityAssessment>
delete(string, string, string, string, DatabaseVulnerabilityAssessmentsDeleteOptionalParams)
Removes the database's vulnerability assessment.
function delete(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: DatabaseVulnerabilityAssessmentsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the vulnerability assessment is defined.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.
Returns
Promise<void>
get(string, string, string, string, DatabaseVulnerabilityAssessmentsGetOptionalParams)
Gets the database's vulnerability assessment.
function get(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: DatabaseVulnerabilityAssessmentsGetOptionalParams): Promise<DatabaseVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the vulnerability assessment is defined.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.
Returns
Promise<DatabaseVulnerabilityAssessment>
listByDatabase(string, string, string, DatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams)
Lists the vulnerability assessment policies associated with a database.
function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams): PagedAsyncIterableIterator<DatabaseVulnerabilityAssessment, DatabaseVulnerabilityAssessment[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the vulnerability assessment policies are defined.
The options parameters.