ISecurityAlertPolicyOperations.GetDatabaseSecurityAlertPolicyAsync 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.
Returns an Azure SQL Database security alert policy.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecurityAlertPolicyGetResponse> GetDatabaseSecurityAlertPolicyAsync (string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member GetDatabaseSecurityAlertPolicyAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecurityAlertPolicyGetResponse>
Public Function GetDatabaseSecurityAlertPolicyAsync (resourceGroupName As String, serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of DatabaseSecurityAlertPolicyGetResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the server belongs.
- serverName
- String
The name of the Azure SQL Database Server on which the database is hosted.
- databaseName
- String
The name of the Azure SQL Database for which the security alert policy applies.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represents the response to a get database security alert policy request.