你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkspaceManagedSqlServerVulnerabilityAssessmentsOperationsExtensions.CreateOrUpdateAsync 方法

定义

创建或更新服务器的漏洞评估。

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)

参数

operations
IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

workspaceName
String

工作区的名称

parameters
ServerVulnerabilityAssessment

漏洞评估的属性。

cancellationToken
CancellationToken

取消标记。

返回

注解

创建或更新工作区托管 SQL Server 的漏洞评估。

适用于