Share via


ManagedDatabaseResource.GetManagedDatabaseSecurityEventsByDatabase 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.Pageable<Azure.ResourceManager.Sql.Models.SecurityEvent> GetManagedDatabaseSecurityEventsByDatabase (string filter = default, int? skip = default, int? top = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedDatabaseSecurityEventsByDatabase : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.SecurityEvent>
override this.GetManagedDatabaseSecurityEventsByDatabase : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.SecurityEvent>
Public Overridable Function GetManagedDatabaseSecurityEventsByDatabase (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 Pageable(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

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

Applies to