Trigger - Get Event Subscription Status
Get a trigger's event subscription status.
POST {endpoint}/triggers/{triggerName}/getEventSubscriptionStatus?api-version=2020-12-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
endpoint
|
path | True |
string uri |
The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. |
trigger
|
path | True |
string |
The trigger name. Regex pattern: |
api-version
|
query | True |
string |
The Synapse client API Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Trigger event subscription state. |
|
Other Status Codes |
An error response received from the Azure Synapse service. |
Examples
Triggers_GetEventSubscriptionStatus
Sample Request
POST exampleWorkspace.dev.azuresynapse.net/triggers/exampleTrigger/getEventSubscriptionStatus?api-version=2020-12-01
Sample Response
{
"triggerName": "exampleTrigger",
"status": "Enabled"
}
Definitions
Cloud |
The object that defines the structure of an Azure Synapse error response. |
Event |
Event Subscription Status. |
Trigger |
Defines the response of a trigger subscription operation. |
CloudError
The object that defines the structure of an Azure Synapse error response.
Name | Type | Description |
---|---|---|
error.code |
string |
Error code. |
error.details |
Array with additional error details. |
|
error.message |
string |
Error message. |
error.target |
string |
Property name/path in request associated with error. |
EventSubscriptionStatus
Event Subscription Status.
Name | Type | Description |
---|---|---|
Deprovisioning |
string |
|
Disabled |
string |
|
Enabled |
string |
|
Provisioning |
string |
|
Unknown |
string |
TriggerSubscriptionOperationStatus
Defines the response of a trigger subscription operation.
Name | Type | Description |
---|---|---|
status |
Event Subscription Status. |
|
triggerName |
string |
Trigger name. |