The partnerNamespaces/eventChannels resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.EventGrid/partnerNamespaces/eventChannels resource, add the following JSON to your template.
{
"type": "Microsoft.EventGrid/partnerNamespaces/eventChannels",
"apiVersion": "2021-10-15-preview",
"name": "string",
"properties": {
"destination": {
"azureSubscriptionId": "string",
"partnerTopicName": "string",
"resourceGroup": "string"
},
"expirationTimeIfNotActivatedUtc": "string",
"filter": {
"advancedFilters": [
{
"key": "string",
"operatorType": "string"
// For remaining properties, see AdvancedFilter objects
}
],
"enableAdvancedFilteringOnArrays": "bool"
},
"partnerTopicFriendlyDescription": "string",
"source": {
"source": "string"
}
}
}
Set the operatorType property to specify the type of object.
For BoolEquals, use:
"operatorType": "BoolEquals",
"value": "bool"
For IsNotNull, use:
"operatorType": "IsNotNull"
For IsNullOrUndefined, use:
"operatorType": "IsNullOrUndefined"
For NumberGreaterThan, use:
"operatorType": "NumberGreaterThan",
"value": "int"
For NumberGreaterThanOrEquals, use:
"operatorType": "NumberGreaterThanOrEquals",
"value": "int"
For NumberIn, use:
"operatorType": "NumberIn",
"values": [ "int" ]
For NumberInRange, use:
"operatorType": "NumberInRange",
"values": [ [ "int" ] ]
For NumberLessThan, use:
"operatorType": "NumberLessThan",
"value": "int"
For NumberLessThanOrEquals, use:
"operatorType": "NumberLessThanOrEquals",
"value": "int"
For NumberNotIn, use:
"operatorType": "NumberNotIn",
"values": [ "int" ]
For NumberNotInRange, use:
"operatorType": "NumberNotInRange",
"values": [ [ "int" ] ]
For StringBeginsWith, use:
"operatorType": "StringBeginsWith",
"values": [ "string" ]
For StringContains, use:
"operatorType": "StringContains",
"values": [ "string" ]
For StringEndsWith, use:
"operatorType": "StringEndsWith",
"values": [ "string" ]
For StringIn, use:
"operatorType": "StringIn",
"values": [ "string" ]
For StringNotBeginsWith, use:
"operatorType": "StringNotBeginsWith",
"values": [ "string" ]
For StringNotContains, use:
"operatorType": "StringNotContains",
"values": [ "string" ]
For StringNotEndsWith, use:
"operatorType": "StringNotEndsWith",
"values": [ "string" ]
For StringNotIn, use:
"operatorType": "StringNotIn",
"values": [ "string" ]
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.EventGrid/partnerNamespaces/eventChannels' |
apiVersion | The resource api version | '2021-10-15-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Properties of the EventChannel. | EventChannelProperties |
Name | Description | Value |
---|---|---|
destination | Represents the destination of an event channel. | EventChannelDestination |
expirationTimeIfNotActivatedUtc | 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. |
string |
filter | Information about the filter for the event channel. | EventChannelFilter |
partnerTopicFriendlyDescription | 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. |
string |
source | Source of the event channel. This represents a unique resource in the partner's resource model. | EventChannelSource |
Name | Description | Value |
---|---|---|
azureSubscriptionId | 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. |
string |
partnerTopicName | Name of the partner topic associated with the event channel. | string |
resourceGroup | 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. |
string |
Name | Description | Value |
---|---|---|
advancedFilters | An array of advanced filters that are used for filtering event channels. | AdvancedFilter[] |
enableAdvancedFilteringOnArrays | Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. The default value is either false or null. | bool |
Name | Description | Value |
---|---|---|
key | The field/property in the event based on which you want to filter. | string |
operatorType | Set the object type | BoolEquals IsNotNull IsNullOrUndefined NumberGreaterThan NumberGreaterThanOrEquals NumberIn NumberInRange NumberLessThan NumberLessThanOrEquals NumberNotIn NumberNotInRange StringBeginsWith StringContains StringEndsWith StringIn StringNotBeginsWith StringNotContains StringNotEndsWith StringNotIn (required) |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'BoolEquals' (required) |
value | The boolean filter value. | bool |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'IsNotNull' (required) |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'IsNullOrUndefined' (required) |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberGreaterThan' (required) |
value | The filter value. | int |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberGreaterThanOrEquals' (required) |
value | The filter value. | int |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberIn' (required) |
values | The set of filter values. | int[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberInRange' (required) |
values | The set of filter values. | int[][] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberLessThan' (required) |
value | The filter value. | int |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberLessThanOrEquals' (required) |
value | The filter value. | int |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberNotIn' (required) |
values | The set of filter values. | int[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'NumberNotInRange' (required) |
values | The set of filter values. | int[][] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringBeginsWith' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringContains' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringEndsWith' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringIn' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringNotBeginsWith' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringNotContains' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringNotEndsWith' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
operatorType | The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others. | 'StringNotIn' (required) |
values | The set of filter values. | string[] |
Name | Description | Value |
---|---|---|
source | The identifier of the resource that's the source of the events. This represents a unique resource in the partner's resource model. |
string |