Share via


WorkspaceManagedSqlServerVulnerabilityAssessmentsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or Update server's vulnerability assessment.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations * string * string * Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations, resourceGroupName As String, workspaceName As String, parameters As ServerVulnerabilityAssessment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerVulnerabilityAssessment)

Parameters

operations
IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

parameters
ServerVulnerabilityAssessment

Properties for vulnerability assessment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to