Share via


SqlPoolSecurityAlertPoliciesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a Sql pool's security alert policy

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

Parameters

operations
ISqlPoolSecurityAlertPoliciesOperations

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

sqlPoolName
String

SQL pool name

parameters
SqlPoolSecurityAlertPolicy

The Sql pool security alert policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or update a Sql pool's security alert policy.

Applies to