Share via


System Topic Event Subscriptions - Get Delivery Attributes

Get delivery attributes for an event subscription.
Get all delivery attributes for an event subscription.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes?api-version=2025-02-15

URI Parameters

Name In Required Type Description
eventSubscriptionName
path True

string

Name of the event subscription.

resourceGroupName
path True

string

The name of the resource group within the user's subscription.

subscriptionId
path True

string

Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

systemTopicName
path True

string

Name of the system topic.

api-version
query True

string

Version of the API to be used with the client request.

Responses

Name Type Description
200 OK

DeliveryAttributeListResult

OK

Other Status Codes

*** Error Responses: ***

  • 400 Bad Request.

  • 500 Internal Server Error.

Examples

SystemTopicEventSubscriptions_GetDeliveryAttributes

Sample request

POST https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1/getDeliveryAttributes?api-version=2025-02-15

Sample response

{
  "value": [
    {
      "name": "header1",
      "type": "Static",
      "properties": {
        "value": "NormalValue",
        "isSecret": false
      }
    },
    {
      "name": "header2",
      "type": "Dynamic",
      "properties": {
        "sourceField": "data.foo"
      }
    },
    {
      "name": "header3",
      "type": "Static",
      "properties": {
        "value": "mySecretValue",
        "isSecret": true
      }
    }
  ]
}

Definitions

Name Description
DeliveryAttributeListResult

Result of the Get delivery attributes operation.

DynamicDeliveryAttributeMapping

Dynamic delivery attribute mapping details.

StaticDeliveryAttributeMapping

Static delivery attribute mapping details.

DeliveryAttributeListResult

Result of the Get delivery attributes operation.

Name Type Description
value DeliveryAttributeMapping[]:

A collection of DeliveryAttributeMapping

DynamicDeliveryAttributeMapping

Dynamic delivery attribute mapping details.

Name Type Description
name

string

Name of the delivery attribute or header.

properties.sourceField

string

JSON path in the event which contains attribute value.

type string:

Dynamic

Type of the delivery attribute or header name.

StaticDeliveryAttributeMapping

Static delivery attribute mapping details.

Name Type Default value Description
name

string

Name of the delivery attribute or header.

properties.isSecret

boolean

False

Boolean flag to tell if the attribute contains sensitive information .

properties.value

string

Value of the delivery attribute.

type string:

Static

Type of the delivery attribute or header name.