-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
CosmosDBSqlTriggerCreateUpdate.json
43 lines (43 loc) · 1.26 KB
/
CosmosDBSqlTriggerCreateUpdate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-03-15",
"subscriptionId": "subid",
"databaseName": "databaseName",
"containerName": "containerName",
"triggerName": "triggerName",
"createUpdateSqlTriggerParameters": {
"properties": {
"resource": {
"id": "triggerName",
"body": "body",
"triggerType": "triggerType",
"triggerOperation": "triggerOperation"
},
"options": {}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/sqlDatabases/databaseName/sqlContainers/containerName/sqlTriggers/triggerName",
"name": "triggerName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/sqlContainers/sqlTriggers",
"properties": {
"resource": {
"id": "triggerName",
"body": "body",
"triggerType": "triggerType",
"triggerOperation": "triggerOperation",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
"202": {}
}
}