Share via


WorkspaceManagedSqlServerSecurityAlertPolicyOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or Update server's threat detection policy.

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

Parameters

operations
IWorkspaceManagedSqlServerSecurityAlertPolicyOperations

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
ServerSecurityAlertPolicy

The workspace managed sql server security alert policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or Update a workspace managed sql server's threat detection policy.

Applies to