SqlPoolSecurityAlertPoliciesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET