ManagedDatabaseSecurityEventsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:managed_database_security_events> attribute.
Constructor
ManagedDatabaseSecurityEventsOperations(*args, **kwargs)
Methods
| list_by_database |
Gets a list of security events. |
list_by_database
Gets a list of security events.
list_by_database(resource_group_name: str, managed_instance_name: str, database_name: str, filter: str | None = None, skip: int | None = None, top: int | None = None, skiptoken: str | None = None, **kwargs: Any) -> AsyncItemPaged[SecurityEvent]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
|
database_name
Required
|
The name of the managed database for which the security events are retrieved. Required. |
|
filter
|
An OData filter expression that filters elements in the collection. Default value is None. Default value: None
|
|
skip
|
The number of elements in the collection to skip. Default value is None. Default value: None
|
|
top
|
The number of elements to return from the collection. Default value is None. Default value: None
|
|
skiptoken
|
An opaque token that identifies a starting point in the collection. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either SecurityEvent or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.sql.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv268\\Lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>