WorkspaceManagedSqlServerVulnerabilityAssessments interface

Interface representing a WorkspaceManagedSqlServerVulnerabilityAssessments.

Methods

createOrUpdate(string, string, string, ServerVulnerabilityAssessment, WorkspaceManagedSqlServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Create or Update workspace managed sql server's vulnerability assessment.

delete(string, string, string, WorkspaceManagedSqlServerVulnerabilityAssessmentsDeleteOptionalParams)

Remove workspace managed sql server's vulnerability assessment.

get(string, string, string, WorkspaceManagedSqlServerVulnerabilityAssessmentsGetOptionalParams)

Get workspace managed sql server's vulnerability assessment.

list(string, string, WorkspaceManagedSqlServerVulnerabilityAssessmentsListOptionalParams)

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.

Returns

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.

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.

Returns

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.

Returns