Skip to main content

managed_database_security_events

Creates, updates, deletes, gets or lists a managed_database_security_events resource.

Overview

Namemanaged_database_security_events
TypeResource
Idazure.sql.managed_database_security_events

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the list of security events.

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_databaseselectresourceGroupName, managedInstanceName, databaseName, subscriptionId$filter, $skip, $top, $skiptokenGets 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.

NameDatatypeDescription
databaseNamestringThe name of the managed database for which the security events are retrieved.
managedInstanceNamestringThe name of the managed instance.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.
$filterstringAn OData filter expression that filters elements in the collection.
$skipintegerThe number of elements in the collection to skip.
$skiptokenstringAn opaque token that identifies a starting point in the collection.
$topintegerThe number of elements to return from the collection.

SELECT examples

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 }}'
;