ManagedDatabaseSecurityAlertPoliciesOperationsExtensions.ListByDatabase(IManagedDatabaseSecurityAlertPoliciesOperations, String, String, String) Method

Definition

Gets a list of managed database's security alert policies.

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

Parameters

operations
IManagedDatabaseSecurityAlertPoliciesOperations

The operations group for this extension method.

resourceGroupName
System.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
System.String

The name of the managed instance.

databaseName
System.String

The name of the managed database for which the security alert policies are defined.

Returns

IPage<ManagedDatabaseSecurityAlertPolicy>

Applies to