Share via


ManagedDatabaseResource.GetManagedDatabaseSecurityEventsByDatabaseAsync Method

Definition

Gets a list of security events.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityEvents
  • Operation Id: ManagedDatabaseSecurityEvents_ListByDatabase
  • Default Api Version: 2020-11-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.SecurityEvent> GetManagedDatabaseSecurityEventsByDatabaseAsync (string filter = default, int? skip = default, int? top = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedDatabaseSecurityEventsByDatabaseAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.SecurityEvent>
override this.GetManagedDatabaseSecurityEventsByDatabaseAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.SecurityEvent>
Public Overridable Function GetManagedDatabaseSecurityEventsByDatabaseAsync (Optional filter As String = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityEvent)

Parameters

filter
String

An OData filter expression that filters elements in the collection.

skip
Nullable<Int32>

The number of elements in the collection to skip.

top
Nullable<Int32>

The number of elements to return from the collection.

skiptoken
String

An opaque token that identifies a starting point in the collection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityEvent that may take multiple service requests to iterate over.

Applies to