SqlPoolVulnerabilityAssessments interface
Interface representing a SqlPoolVulnerabilityAssessments.
Methods
create |
Creates or updates the Sql pool vulnerability assessment. |
delete(string, string, string, string, Sql |
Removes the database's vulnerability assessment. |
get(string, string, string, string, Sql |
Gets the Sql pool's vulnerability assessment. |
list(string, string, string, Sql |
Lists the vulnerability assessment policies associated with a SQL pool. |
Method Details
createOrUpdate(string, string, string, string, SqlPoolVulnerabilityAssessment, SqlPoolVulnerabilityAssessmentsCreateOrUpdateOptionalParams)
Creates or updates the Sql pool vulnerability assessment.
function createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, parameters: SqlPoolVulnerabilityAssessment, options?: SqlPoolVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<SqlPoolVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- parameters
- SqlPoolVulnerabilityAssessment
The requested resource.
The options parameters.
Returns
Promise<SqlPoolVulnerabilityAssessment>
delete(string, string, string, string, SqlPoolVulnerabilityAssessmentsDeleteOptionalParams)
Removes the database's vulnerability assessment.
function delete(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, options?: SqlPoolVulnerabilityAssessmentsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.
Returns
Promise<void>
get(string, string, string, string, SqlPoolVulnerabilityAssessmentsGetOptionalParams)
Gets the Sql pool's vulnerability assessment.
function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, options?: SqlPoolVulnerabilityAssessmentsGetOptionalParams): Promise<SqlPoolVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.
Returns
Promise<SqlPoolVulnerabilityAssessment>
list(string, string, string, SqlPoolVulnerabilityAssessmentsListOptionalParams)
Lists the vulnerability assessment policies associated with a SQL pool.
function list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolVulnerabilityAssessmentsListOptionalParams): PagedAsyncIterableIterator<SqlPoolVulnerabilityAssessment, SqlPoolVulnerabilityAssessment[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
The options parameters.