Microsoft.EventGrid partnerNamespaces/eventChannels

Template format

To create a Microsoft.EventGrid/partnerNamespaces/eventChannels resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.EventGrid/partnerNamespaces/eventChannels",
  "apiVersion": "2020-04-01-preview",
  "properties": {
    "source": {
      "source": "string"
    },
    "destination": {
      "azureSubscriptionId": "string",
      "resourceGroup": "string",
      "partnerTopicName": "string"
    },
    "expirationTimeIfNotActivatedUtc": "string",
    "filter": {
      "advancedFilters": [
        {
          "key": "string",
          "operatorType": "string"
        }
      ]
    },
    "partnerTopicFriendlyDescription": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.EventGrid/partnerNamespaces/eventChannels object

Name Type Required Value
name string Yes Name of the event channel.
type enum Yes eventChannels
-or-
Microsoft.EventGrid/partnerNamespaces/eventChannels

See Set name and type for child resources.
apiVersion enum Yes 2020-04-01-preview
properties object Yes Properties of the EventChannel. - EventChannelProperties object

EventChannelProperties object

Name Type Required Value
source object No Source of the event channel. This represents a unique resource in the partner's resource model. - EventChannelSource object
destination object No Represents the destination of an event channel. - EventChannelDestination object
expirationTimeIfNotActivatedUtc string No Expiration time of the event channel. If this timer expires while the corresponding partner topic is never activated,
the event channel and corresponding partner topic are deleted.
filter object No Information about the filter for the event channel. - EventChannelFilter object
partnerTopicFriendlyDescription string No Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.

EventChannelSource object

Name Type Required Value
source string No The identifier of the resource that's the source of the events.
This represents a unique resource in the partner's resource model.

EventChannelDestination object

Name Type Required Value
azureSubscriptionId string No Azure subscription ID of the customer creating the event channel. The partner topic
associated with the event channel will be created under this Azure subscription.
resourceGroup string No Azure Resource Group of the customer creating the event channel. The partner topic
associated with the event channel will be created under this resource group.
partnerTopicName string No Name of the partner topic associated with the event channel.

EventChannelFilter object

Name Type Required Value
advancedFilters array No An array of advanced filters that are used for filtering event channels. - AdvancedFilter object

AdvancedFilter object

Name Type Required Value
key string No The field/property in the event based on which you want to filter.
operatorType string Yes