Skip to main content

sql_triggers

Overview

Namesql_triggers
TypeResource
Idazure.cosmos_db.sql_triggers

Fields

NameDatatypeDescription
idstringThe unique resource identifier of the ARM resource.
namestringThe name of the ARM resource.
identityobjectIdentity for the resource.
locationstringThe location of the resource group to which the resource belongs.
propertiesobjectThe properties of an Azure Cosmos DB trigger
tagsobjectTags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
typestringThe type of Azure resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, containerName, databaseName, resourceGroupName, subscriptionId, triggerNameGets the SQL trigger under an existing Azure Cosmos DB database account.
listSELECTaccountName, containerName, databaseName, resourceGroupName, subscriptionIdLists the SQL trigger under an existing Azure Cosmos DB database account.
deleteDELETEaccountName, containerName, databaseName, resourceGroupName, subscriptionId, triggerNameDeletes an existing Azure Cosmos DB SQL trigger.
_listEXECaccountName, containerName, databaseName, resourceGroupName, subscriptionIdLists the SQL trigger under an existing Azure Cosmos DB database account.
create_updateEXECaccountName, containerName, databaseName, resourceGroupName, subscriptionId, triggerName, data__propertiesCreate or update an Azure Cosmos DB SQL trigger