managed_database_security_events
Creates, updates, deletes, gets or lists a managed_database_security_events
resource.
Overview
Name | managed_database_security_events |
Type | Resource |
Id | azure.sql.managed_database_security_events |
Fields
The following fields are returned by SELECT
queries:
- list_by_database
Successfully retrieved the list of security events.
Name | Datatype | Description |
---|---|---|
properties | object | Resource properties. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_database | select | resourceGroupName , managedInstanceName , databaseName , subscriptionId | $filter , $skip , $top , $skiptoken | Gets a list of security events. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
databaseName | string | The name of the managed database for which the security events are retrieved. |
managedInstanceName | string | The name of the managed instance. |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
$filter | string | An OData filter expression that filters elements in the collection. |
$skip | integer | The number of elements in the collection to skip. |
$skiptoken | string | An opaque token that identifies a starting point in the collection. |
$top | integer | The number of elements to return from the collection. |
SELECT
examples
- list_by_database
Gets a list of security events.
SELECT
properties
FROM azure.sql.managed_database_security_events
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedInstanceName = '{{ managedInstanceName }}' -- required
AND databaseName = '{{ databaseName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
AND $skip = '{{ $skip }}'
AND $top = '{{ $top }}'
AND $skiptoken = '{{ $skiptoken }}'
;