WorkspaceManagedSqlServerVulnerabilityAssessments interface
Interface representing a WorkspaceManagedSqlServerVulnerabilityAssessments.
Methods
create |
Create or Update workspace managed sql server's vulnerability assessment. |
delete(string, string, string, Workspace |
Remove workspace managed sql server's vulnerability assessment. |
get(string, string, string, Workspace |
Get workspace managed sql server's vulnerability assessment. |
list(string, string, Workspace |
Lists the vulnerability assessment policies associated with a workspace managed sql server. |
Method Details
createOrUpdate(string, string, string, ServerVulnerabilityAssessment, WorkspaceManagedSqlServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams)
Create or Update workspace managed sql server's vulnerability assessment.
function createOrUpdate(resourceGroupName: string, workspaceName: string, vulnerabilityAssessmentName: string, parameters: ServerVulnerabilityAssessment, options?: WorkspaceManagedSqlServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- parameters
- ServerVulnerabilityAssessment
Properties for vulnerability assessment.
The options parameters.
Returns
Promise<ServerVulnerabilityAssessment>
delete(string, string, string, WorkspaceManagedSqlServerVulnerabilityAssessmentsDeleteOptionalParams)
Remove workspace managed sql server's vulnerability assessment.
function delete(resourceGroupName: string, workspaceName: string, vulnerabilityAssessmentName: string, options?: WorkspaceManagedSqlServerVulnerabilityAssessmentsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.
Returns
Promise<void>
get(string, string, string, WorkspaceManagedSqlServerVulnerabilityAssessmentsGetOptionalParams)
Get workspace managed sql server's vulnerability assessment.
function get(resourceGroupName: string, workspaceName: string, vulnerabilityAssessmentName: string, options?: WorkspaceManagedSqlServerVulnerabilityAssessmentsGetOptionalParams): Promise<ServerVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.
Returns
Promise<ServerVulnerabilityAssessment>
list(string, string, WorkspaceManagedSqlServerVulnerabilityAssessmentsListOptionalParams)
Lists the vulnerability assessment policies associated with a workspace managed sql server.
function list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagedSqlServerVulnerabilityAssessmentsListOptionalParams): PagedAsyncIterableIterator<ServerVulnerabilityAssessment, ServerVulnerabilityAssessment[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
The options parameters.
Returns
Azure SDK for JavaScript