Skip to main content

extended_sql_pool_blob_auditing_policies

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

Overview

Nameextended_sql_pool_blob_auditing_policies
TypeResource
Idazure.synapse.extended_sql_pool_blob_auditing_policies

Fields

NameDatatypeDescription
audit_actions_and_groupstextfield from the properties object
blobAuditingPolicyNametextfield from the properties object
is_azure_monitor_target_enabledtextfield from the properties object
is_storage_secondary_key_in_usetextfield from the properties object
predicate_expressiontextfield from the properties object
queue_delay_mstextfield from the properties object
resourceGroupNametextfield from the properties object
retention_daystextfield from the properties object
sqlPoolNametextfield from the properties object
statetextfield from the properties object
storage_account_access_keytextfield from the properties object
storage_account_subscription_idtextfield from the properties object
storage_endpointtextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTblobAuditingPolicyName, resourceGroupName, sqlPoolName, subscriptionId, workspaceNameGets an extended Sql pool's blob auditing policy.
list_by_sql_poolSELECTresourceGroupName, sqlPoolName, subscriptionId, workspaceNameLists extended auditing settings of a Sql pool.
create_or_updateINSERTblobAuditingPolicyName, resourceGroupName, sqlPoolName, subscriptionId, workspaceNameCreates or updates an extended Sql pool's blob auditing policy.

SELECT examples

Lists extended auditing settings of a Sql pool.

SELECT
audit_actions_and_groups,
blobAuditingPolicyName,
is_azure_monitor_target_enabled,
is_storage_secondary_key_in_use,
predicate_expression,
queue_delay_ms,
resourceGroupName,
retention_days,
sqlPoolName,
state,
storage_account_access_key,
storage_account_subscription_id,
storage_endpoint,
subscriptionId,
workspaceName
FROM azure.synapse.vw_extended_sql_pool_blob_auditing_policies
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sqlPoolName = '{{ sqlPoolName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

Use the following StackQL query and manifest file to create a new extended_sql_pool_blob_auditing_policies resource.

/*+ create */
INSERT INTO azure.synapse.extended_sql_pool_blob_auditing_policies (
blobAuditingPolicyName,
resourceGroupName,
sqlPoolName,
subscriptionId,
workspaceName,
properties
)
SELECT
'{{ blobAuditingPolicyName }}',
'{{ resourceGroupName }}',
'{{ sqlPoolName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ properties }}'
;