Aracılığıyla paylaş


ManagedDatabaseSecurityAlertPoliciesOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a database's security alert policy.

public static Microsoft.Azure.Management.Sql.Models.ManagedDatabaseSecurityAlertPolicy CreateOrUpdate (this Microsoft.Azure.Management.Sql.IManagedDatabaseSecurityAlertPoliciesOperations operations, string resourceGroupName, string managedInstanceName, string databaseName, Microsoft.Azure.Management.Sql.Models.ManagedDatabaseSecurityAlertPolicy parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.IManagedDatabaseSecurityAlertPoliciesOperations * string * string * string * Microsoft.Azure.Management.Sql.Models.ManagedDatabaseSecurityAlertPolicy -> Microsoft.Azure.Management.Sql.Models.ManagedDatabaseSecurityAlertPolicy
<Extension()>
Public Function CreateOrUpdate (operations As IManagedDatabaseSecurityAlertPoliciesOperations, resourceGroupName As String, managedInstanceName As String, databaseName As String, parameters As ManagedDatabaseSecurityAlertPolicy) As ManagedDatabaseSecurityAlertPolicy

Parameters

operations
IManagedDatabaseSecurityAlertPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName
String

The name of the managed instance.

databaseName
String

The name of the managed database for which the security alert policy is defined.

parameters
ManagedDatabaseSecurityAlertPolicy

The database security alert policy.

Returns

Applies to