SecurityAlertPolicyOperationsExtensions.CreateOrUpdateDatabaseSecurityAlertPolicyAsync Method

Definition

Creates or updates an Azure SQL Database security alert policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdateDatabaseSecurityAlertPolicyAsync (this Microsoft.Azure.Management.Sql.LegacySdk.ISecurityAlertPolicyOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecurityAlertPolicyCreateOrUpdateParameters parameters);
static member CreateOrUpdateDatabaseSecurityAlertPolicyAsync : Microsoft.Azure.Management.Sql.LegacySdk.ISecurityAlertPolicyOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecurityAlertPolicyCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateOrUpdateDatabaseSecurityAlertPolicyAsync (operations As ISecurityAlertPolicyOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As DatabaseSecurityAlertPolicyCreateOrUpdateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
ISecurityAlertPolicyOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.ISecurityAlertPolicyOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database for which the security alert policy applies.

parameters
DatabaseSecurityAlertPolicyCreateOrUpdateParameters

Required. The required parameters for creating or updating a Azure SQL Database security alert policy.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to