event_subscriptions
Creates, updates, deletes, gets or lists an event_subscriptions resource.
Overview
| Name | event_subscriptions |
| Type | Resource |
| Id | azure.event_grid.event_subscriptions |
Fields
The following fields are returned by SELECT queries:
- list_by_resource
- list_by_domain_topic
- list_regional_by_resource_group_for_topic_type
- list_global_by_resource_group_for_topic_type
- list_regional_by_resource_group
- list_regional_by_subscription_for_topic_type
- get
- list_global_by_resource_group
- list_global_by_subscription_for_topic_type
- list_regional_by_subscription
- list_global_by_subscription
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deadLetterDestination | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
deadLetterWithResourceIdentity | object | The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
deliveryWithResourceIdentity | object | Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
destination | object | Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
eventDeliverySchema | string | The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". (EventGridSchema, CustomInputSchema, CloudEventSchemaV1_0) |
expirationTimeUtc | string (date-time) | Expiration time of the event subscription. |
filter | object | Information about the filter for the event subscription. |
labels | array | List of user defined labels. |
provisioningState | string | Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". (Creating, Updating, Deleting, Succeeded, Canceled, Failed, AwaitingManualAction) |
retryPolicy | object | The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
topic | string | Name of the topic of the event subscription. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_resource | select | resource_group_name, provider_namespace, resource_type_name, resource_name, subscription_id | $filter, $top | List all event subscriptions. List all event subscriptions that have been created for a specific resource. |
list_by_domain_topic | select | resource_group_name, domain_name, topic_name, subscription_id | $filter, $top | List all event subscriptions for a specific domain topic. List all event subscriptions that have been created for a specific domain topic. |
list_regional_by_resource_group_for_topic_type | select | resource_group_name, location, topic_type_name, subscription_id | $filter, $top | List all regional event subscriptions under an Azure subscription and resource group for a topic type. List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type. |
list_global_by_resource_group_for_topic_type | select | resource_group_name, topic_type_name, subscription_id | $filter, $top | List all global event subscriptions under a resource group for a topic type. List all global event subscriptions under a resource group for a specific topic type. |
list_regional_by_resource_group | select | resource_group_name, location, subscription_id | $filter, $top | List all regional event subscriptions under an Azure subscription and resource group. List all event subscriptions from the given location under a specific Azure subscription and resource group. |
list_regional_by_subscription_for_topic_type | select | location, topic_type_name, subscription_id | $filter, $top | List all regional event subscriptions under an Azure subscription for a topic type. List all event subscriptions from the given location under a specific Azure subscription and topic type. |
get | select | scope, event_subscription_name | Get an event subscription. Get properties of an event subscription. | |
list_global_by_resource_group | select | resource_group_name, subscription_id | $filter, $top | List all global event subscriptions under an Azure subscription and resource group. List all global event subscriptions under a specific Azure subscription and resource group. |
list_global_by_subscription_for_topic_type | select | topic_type_name, subscription_id | $filter, $top | List all global event subscriptions for a topic type. List all global event subscriptions under an Azure subscription for a topic type. |
list_regional_by_subscription | select | location, subscription_id | $filter, $top | List all regional event subscriptions under an Azure subscription. List all event subscriptions from the given location under a specific Azure subscription. |
list_global_by_subscription | select | subscription_id | $filter, $top | Get an aggregated list of all global event subscriptions under an Azure subscription. List all aggregated global event subscriptions under a specific Azure subscription. |
create_or_update | insert | scope, event_subscription_name | Create or update an event subscription. Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope. | |
update | update | scope, event_subscription_name | Update an event subscription. Asynchronously updates an existing event subscription. | |
create_or_update | replace | scope, event_subscription_name | Create or update an event subscription. Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope. | |
delete | delete | scope, event_subscription_name | Delete an event subscription. Delete an existing event subscription. | |
get_delivery_attributes | exec | scope, event_subscription_name | Get delivery attributes for an event subscription. Get all delivery attributes for an event subscription. | |
get_full_url | exec | scope, event_subscription_name | Get full URL of an event subscription. Get the full endpoint URL for an event subscription. |
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.
| Name | Datatype | Description |
|---|---|---|
domain_name | string | Name of the top level domain. Required. |
event_subscription_name | string | Name of the event subscription to be found. Required. |
location | string | The location name. Required. |
provider_namespace | string | Namespace of the provider of the topic. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
resource_name | string | Name of the resource. Required. |
resource_type_name | string | Name of the resource type. Required. |
scope | string | undefined. Required. |
subscription_id | string | |
topic_name | string | Name of the domain topic. Required. |
topic_type_name | string | Name of the topic type. Required. |
$filter | string | The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. Default value is None. |
$top | integer | The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. Default value is None. |
SELECT examples
- list_by_resource
- list_by_domain_topic
- list_regional_by_resource_group_for_topic_type
- list_global_by_resource_group_for_topic_type
- list_regional_by_resource_group
- list_regional_by_subscription_for_topic_type
- get
- list_global_by_resource_group
- list_global_by_subscription_for_topic_type
- list_regional_by_subscription
- list_global_by_subscription
List all event subscriptions. List all event subscriptions that have been created for a specific resource.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND provider_namespace = '{{ provider_namespace }}' -- required
AND resource_type_name = '{{ resource_type_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all event subscriptions for a specific domain topic. List all event subscriptions that have been created for a specific domain topic.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND domain_name = '{{ domain_name }}' -- required
AND topic_name = '{{ topic_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all regional event subscriptions under an Azure subscription and resource group for a topic type. List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND location = '{{ location }}' -- required
AND topic_type_name = '{{ topic_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all global event subscriptions under a resource group for a topic type. List all global event subscriptions under a resource group for a specific topic type.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND topic_type_name = '{{ topic_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all regional event subscriptions under an Azure subscription and resource group. List all event subscriptions from the given location under a specific Azure subscription and resource group.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all regional event subscriptions under an Azure subscription for a topic type. List all event subscriptions from the given location under a specific Azure subscription and topic type.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE location = '{{ location }}' -- required
AND topic_type_name = '{{ topic_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
Get an event subscription. Get properties of an event subscription.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE scope = '{{ scope }}' -- required
AND event_subscription_name = '{{ event_subscription_name }}' -- required
;
List all global event subscriptions under an Azure subscription and resource group. List all global event subscriptions under a specific Azure subscription and resource group.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all global event subscriptions for a topic type. List all global event subscriptions under an Azure subscription for a topic type.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE topic_type_name = '{{ topic_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
List all regional event subscriptions under an Azure subscription. List all event subscriptions from the given location under a specific Azure subscription.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
Get an aggregated list of all global event subscriptions under an Azure subscription. List all aggregated global event subscriptions under a specific Azure subscription.
SELECT
id,
name,
deadLetterDestination,
deadLetterWithResourceIdentity,
deliveryWithResourceIdentity,
destination,
eventDeliverySchema,
expirationTimeUtc,
filter,
labels,
provisioningState,
retryPolicy,
systemData,
topic,
type
FROM azure.event_grid.event_subscriptions
WHERE subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
INSERT examples
- create_or_update
- Manifest
Create or update an event subscription. Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
INSERT INTO azure.event_grid.event_subscriptions (
properties,
scope,
event_subscription_name
)
SELECT
'{{ properties }}',
'{{ scope }}',
'{{ event_subscription_name }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: event_subscriptions
props:
- name: scope
value: "{{ scope }}"
description: Required parameter for the event_subscriptions resource.
- name: event_subscription_name
value: "{{ event_subscription_name }}"
description: Required parameter for the event_subscriptions resource.
- name: properties
description: |
Properties of the event subscription.
value:
topic: "{{ topic }}"
provisioningState: "{{ provisioningState }}"
destination:
endpointType: "{{ endpointType }}"
deliveryWithResourceIdentity:
identity:
type: "{{ type }}"
userAssignedIdentity: "{{ userAssignedIdentity }}"
federatedIdentityCredentialInfo:
federatedClientId: "{{ federatedClientId }}"
destination:
endpointType: "{{ endpointType }}"
filter:
subjectBeginsWith: "{{ subjectBeginsWith }}"
subjectEndsWith: "{{ subjectEndsWith }}"
includedEventTypes:
- "{{ includedEventTypes }}"
isSubjectCaseSensitive: {{ isSubjectCaseSensitive }}
enableAdvancedFilteringOnArrays: {{ enableAdvancedFilteringOnArrays }}
advancedFilters:
- operatorType: "{{ operatorType }}"
key: "{{ key }}"
labels:
- "{{ labels }}"
expirationTimeUtc: "{{ expirationTimeUtc }}"
eventDeliverySchema: "{{ eventDeliverySchema }}"
retryPolicy:
maxDeliveryAttempts: {{ maxDeliveryAttempts }}
eventTimeToLiveInMinutes: {{ eventTimeToLiveInMinutes }}
deadLetterDestination:
endpointType: "{{ endpointType }}"
deadLetterWithResourceIdentity:
identity:
type: "{{ type }}"
userAssignedIdentity: "{{ userAssignedIdentity }}"
federatedIdentityCredentialInfo:
federatedClientId: "{{ federatedClientId }}"
deadLetterDestination:
endpointType: "{{ endpointType }}"
UPDATE examples
- update
Update an event subscription. Asynchronously updates an existing event subscription.
UPDATE azure.event_grid.event_subscriptions
SET
destination = '{{ destination }}',
deliveryWithResourceIdentity = '{{ deliveryWithResourceIdentity }}',
filter = '{{ filter }}',
labels = '{{ labels }}',
expirationTimeUtc = '{{ expirationTimeUtc }}',
eventDeliverySchema = '{{ eventDeliverySchema }}',
retryPolicy = '{{ retryPolicy }}',
deadLetterDestination = '{{ deadLetterDestination }}',
deadLetterWithResourceIdentity = '{{ deadLetterWithResourceIdentity }}'
WHERE
scope = '{{ scope }}' --required
AND event_subscription_name = '{{ event_subscription_name }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
REPLACE examples
- create_or_update
Create or update an event subscription. Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
REPLACE azure.event_grid.event_subscriptions
SET
properties = '{{ properties }}'
WHERE
scope = '{{ scope }}' --required
AND event_subscription_name = '{{ event_subscription_name }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
DELETE examples
- delete
Delete an event subscription. Delete an existing event subscription.
DELETE FROM azure.event_grid.event_subscriptions
WHERE scope = '{{ scope }}' --required
AND event_subscription_name = '{{ event_subscription_name }}' --required
;
Lifecycle Methods
- get_delivery_attributes
- get_full_url
Get delivery attributes for an event subscription. Get all delivery attributes for an event subscription.
EXEC azure.event_grid.event_subscriptions.get_delivery_attributes
@scope='{{ scope }}' --required,
@event_subscription_name='{{ event_subscription_name }}' --required
;
Get full URL of an event subscription. Get the full endpoint URL for an event subscription.
EXEC azure.event_grid.event_subscriptions.get_full_url
@scope='{{ scope }}' --required,
@event_subscription_name='{{ event_subscription_name }}' --required
;