ManagedDatabaseResource.GetManagedDatabaseSecurityEventsByDatabaseAsync 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.
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.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET