1. Packages
  2. Azure Classic
  3. API Docs
  4. eventgrid
  5. EventSubscription

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.eventgrid.EventSubscription

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages an EventGrid Event Subscription

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleAccount = new azure.storage.Account("example", {
        name: "exampleasa",
        resourceGroupName: example.name,
        location: example.location,
        accountTier: "Standard",
        accountReplicationType: "LRS",
        tags: {
            environment: "staging",
        },
    });
    const exampleQueue = new azure.storage.Queue("example", {
        name: "example-astq",
        storageAccountName: exampleAccount.name,
    });
    const exampleEventSubscription = new azure.eventgrid.EventSubscription("example", {
        name: "example-aees",
        scope: example.id,
        storageQueueEndpoint: {
            storageAccountId: exampleAccount.id,
            queueName: exampleQueue.name,
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_account = azure.storage.Account("example",
        name="exampleasa",
        resource_group_name=example.name,
        location=example.location,
        account_tier="Standard",
        account_replication_type="LRS",
        tags={
            "environment": "staging",
        })
    example_queue = azure.storage.Queue("example",
        name="example-astq",
        storage_account_name=example_account.name)
    example_event_subscription = azure.eventgrid.EventSubscription("example",
        name="example-aees",
        scope=example.id,
        storage_queue_endpoint=azure.eventgrid.EventSubscriptionStorageQueueEndpointArgs(
            storage_account_id=example_account.id,
            queue_name=example_queue.name,
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventgrid"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
    			Name:                   pulumi.String("exampleasa"),
    			ResourceGroupName:      example.Name,
    			Location:               example.Location,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("LRS"),
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("staging"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleQueue, err := storage.NewQueue(ctx, "example", &storage.QueueArgs{
    			Name:               pulumi.String("example-astq"),
    			StorageAccountName: exampleAccount.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = eventgrid.NewEventSubscription(ctx, "example", &eventgrid.EventSubscriptionArgs{
    			Name:  pulumi.String("example-aees"),
    			Scope: example.ID(),
    			StorageQueueEndpoint: &eventgrid.EventSubscriptionStorageQueueEndpointArgs{
    				StorageAccountId: exampleAccount.ID(),
    				QueueName:        exampleQueue.Name,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleAccount = new Azure.Storage.Account("example", new()
        {
            Name = "exampleasa",
            ResourceGroupName = example.Name,
            Location = example.Location,
            AccountTier = "Standard",
            AccountReplicationType = "LRS",
            Tags = 
            {
                { "environment", "staging" },
            },
        });
    
        var exampleQueue = new Azure.Storage.Queue("example", new()
        {
            Name = "example-astq",
            StorageAccountName = exampleAccount.Name,
        });
    
        var exampleEventSubscription = new Azure.EventGrid.EventSubscription("example", new()
        {
            Name = "example-aees",
            Scope = example.Id,
            StorageQueueEndpoint = new Azure.EventGrid.Inputs.EventSubscriptionStorageQueueEndpointArgs
            {
                StorageAccountId = exampleAccount.Id,
                QueueName = exampleQueue.Name,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.storage.Account;
    import com.pulumi.azure.storage.AccountArgs;
    import com.pulumi.azure.storage.Queue;
    import com.pulumi.azure.storage.QueueArgs;
    import com.pulumi.azure.eventgrid.EventSubscription;
    import com.pulumi.azure.eventgrid.EventSubscriptionArgs;
    import com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageQueueEndpointArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
                .name("exampleasa")
                .resourceGroupName(example.name())
                .location(example.location())
                .accountTier("Standard")
                .accountReplicationType("LRS")
                .tags(Map.of("environment", "staging"))
                .build());
    
            var exampleQueue = new Queue("exampleQueue", QueueArgs.builder()
                .name("example-astq")
                .storageAccountName(exampleAccount.name())
                .build());
    
            var exampleEventSubscription = new EventSubscription("exampleEventSubscription", EventSubscriptionArgs.builder()
                .name("example-aees")
                .scope(example.id())
                .storageQueueEndpoint(EventSubscriptionStorageQueueEndpointArgs.builder()
                    .storageAccountId(exampleAccount.id())
                    .queueName(exampleQueue.name())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAccount:
        type: azure:storage:Account
        name: example
        properties:
          name: exampleasa
          resourceGroupName: ${example.name}
          location: ${example.location}
          accountTier: Standard
          accountReplicationType: LRS
          tags:
            environment: staging
      exampleQueue:
        type: azure:storage:Queue
        name: example
        properties:
          name: example-astq
          storageAccountName: ${exampleAccount.name}
      exampleEventSubscription:
        type: azure:eventgrid:EventSubscription
        name: example
        properties:
          name: example-aees
          scope: ${example.id}
          storageQueueEndpoint:
            storageAccountId: ${exampleAccount.id}
            queueName: ${exampleQueue.name}
    

    Create EventSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventSubscription(name: string, args: EventSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def EventSubscription(resource_name: str,
                          args: EventSubscriptionArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventSubscription(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          scope: Optional[str] = None,
                          included_event_types: Optional[Sequence[str]] = None,
                          storage_queue_endpoint: Optional[EventSubscriptionStorageQueueEndpointArgs] = None,
                          dead_letter_identity: Optional[EventSubscriptionDeadLetterIdentityArgs] = None,
                          delivery_identity: Optional[EventSubscriptionDeliveryIdentityArgs] = None,
                          delivery_properties: Optional[Sequence[EventSubscriptionDeliveryPropertyArgs]] = None,
                          event_delivery_schema: Optional[str] = None,
                          eventhub_endpoint_id: Optional[str] = None,
                          labels: Optional[Sequence[str]] = None,
                          webhook_endpoint: Optional[EventSubscriptionWebhookEndpointArgs] = None,
                          azure_function_endpoint: Optional[EventSubscriptionAzureFunctionEndpointArgs] = None,
                          expiration_time_utc: Optional[str] = None,
                          name: Optional[str] = None,
                          retry_policy: Optional[EventSubscriptionRetryPolicyArgs] = None,
                          advanced_filtering_on_arrays_enabled: Optional[bool] = None,
                          service_bus_queue_endpoint_id: Optional[str] = None,
                          service_bus_topic_endpoint_id: Optional[str] = None,
                          storage_blob_dead_letter_destination: Optional[EventSubscriptionStorageBlobDeadLetterDestinationArgs] = None,
                          advanced_filter: Optional[EventSubscriptionAdvancedFilterArgs] = None,
                          subject_filter: Optional[EventSubscriptionSubjectFilterArgs] = None,
                          hybrid_connection_endpoint_id: Optional[str] = None)
    func NewEventSubscription(ctx *Context, name string, args EventSubscriptionArgs, opts ...ResourceOption) (*EventSubscription, error)
    public EventSubscription(string name, EventSubscriptionArgs args, CustomResourceOptions? opts = null)
    public EventSubscription(String name, EventSubscriptionArgs args)
    public EventSubscription(String name, EventSubscriptionArgs args, CustomResourceOptions options)
    
    type: azure:eventgrid:EventSubscription
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventSubscriptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var eventSubscriptionResource = new Azure.EventGrid.EventSubscription("eventSubscriptionResource", new()
    {
        Scope = "string",
        IncludedEventTypes = new[]
        {
            "string",
        },
        StorageQueueEndpoint = new Azure.EventGrid.Inputs.EventSubscriptionStorageQueueEndpointArgs
        {
            QueueName = "string",
            StorageAccountId = "string",
            QueueMessageTimeToLiveInSeconds = 0,
        },
        DeadLetterIdentity = new Azure.EventGrid.Inputs.EventSubscriptionDeadLetterIdentityArgs
        {
            Type = "string",
            UserAssignedIdentity = "string",
        },
        DeliveryIdentity = new Azure.EventGrid.Inputs.EventSubscriptionDeliveryIdentityArgs
        {
            Type = "string",
            UserAssignedIdentity = "string",
        },
        DeliveryProperties = new[]
        {
            new Azure.EventGrid.Inputs.EventSubscriptionDeliveryPropertyArgs
            {
                HeaderName = "string",
                Type = "string",
                Secret = false,
                SourceField = "string",
                Value = "string",
            },
        },
        EventDeliverySchema = "string",
        EventhubEndpointId = "string",
        Labels = new[]
        {
            "string",
        },
        WebhookEndpoint = new Azure.EventGrid.Inputs.EventSubscriptionWebhookEndpointArgs
        {
            Url = "string",
            ActiveDirectoryAppIdOrUri = "string",
            ActiveDirectoryTenantId = "string",
            BaseUrl = "string",
            MaxEventsPerBatch = 0,
            PreferredBatchSizeInKilobytes = 0,
        },
        AzureFunctionEndpoint = new Azure.EventGrid.Inputs.EventSubscriptionAzureFunctionEndpointArgs
        {
            FunctionId = "string",
            MaxEventsPerBatch = 0,
            PreferredBatchSizeInKilobytes = 0,
        },
        ExpirationTimeUtc = "string",
        Name = "string",
        RetryPolicy = new Azure.EventGrid.Inputs.EventSubscriptionRetryPolicyArgs
        {
            EventTimeToLive = 0,
            MaxDeliveryAttempts = 0,
        },
        AdvancedFilteringOnArraysEnabled = false,
        ServiceBusQueueEndpointId = "string",
        ServiceBusTopicEndpointId = "string",
        StorageBlobDeadLetterDestination = new Azure.EventGrid.Inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs
        {
            StorageAccountId = "string",
            StorageBlobContainerName = "string",
        },
        AdvancedFilter = new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterArgs
        {
            BoolEquals = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterBoolEqualArgs
                {
                    Key = "string",
                    Value = false,
                },
            },
            IsNotNulls = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterIsNotNullArgs
                {
                    Key = "string",
                },
            },
            IsNullOrUndefineds = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterIsNullOrUndefinedArgs
                {
                    Key = "string",
                },
            },
            NumberGreaterThanOrEquals = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArgs
                {
                    Key = "string",
                    Value = 0,
                },
            },
            NumberGreaterThans = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberGreaterThanArgs
                {
                    Key = "string",
                    Value = 0,
                },
            },
            NumberInRanges = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberInRangeArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        new[]
                        {
                            0,
                        },
                    },
                },
            },
            NumberIns = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberInArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        0,
                    },
                },
            },
            NumberLessThanOrEquals = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberLessThanOrEqualArgs
                {
                    Key = "string",
                    Value = 0,
                },
            },
            NumberLessThans = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberLessThanArgs
                {
                    Key = "string",
                    Value = 0,
                },
            },
            NumberNotInRanges = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberNotInRangeArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        new[]
                        {
                            0,
                        },
                    },
                },
            },
            NumberNotIns = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterNumberNotInArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        0,
                    },
                },
            },
            StringBeginsWiths = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringBeginsWithArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringContains = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringContainArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringEndsWiths = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringEndsWithArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringIns = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringInArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringNotBeginsWiths = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringNotBeginsWithArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringNotContains = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringNotContainArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringNotEndsWiths = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringNotEndsWithArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            StringNotIns = new[]
            {
                new Azure.EventGrid.Inputs.EventSubscriptionAdvancedFilterStringNotInArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
        },
        SubjectFilter = new Azure.EventGrid.Inputs.EventSubscriptionSubjectFilterArgs
        {
            CaseSensitive = false,
            SubjectBeginsWith = "string",
            SubjectEndsWith = "string",
        },
        HybridConnectionEndpointId = "string",
    });
    
    example, err := eventgrid.NewEventSubscription(ctx, "eventSubscriptionResource", &eventgrid.EventSubscriptionArgs{
    	Scope: pulumi.String("string"),
    	IncludedEventTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	StorageQueueEndpoint: &eventgrid.EventSubscriptionStorageQueueEndpointArgs{
    		QueueName:                       pulumi.String("string"),
    		StorageAccountId:                pulumi.String("string"),
    		QueueMessageTimeToLiveInSeconds: pulumi.Int(0),
    	},
    	DeadLetterIdentity: &eventgrid.EventSubscriptionDeadLetterIdentityArgs{
    		Type:                 pulumi.String("string"),
    		UserAssignedIdentity: pulumi.String("string"),
    	},
    	DeliveryIdentity: &eventgrid.EventSubscriptionDeliveryIdentityArgs{
    		Type:                 pulumi.String("string"),
    		UserAssignedIdentity: pulumi.String("string"),
    	},
    	DeliveryProperties: eventgrid.EventSubscriptionDeliveryPropertyArray{
    		&eventgrid.EventSubscriptionDeliveryPropertyArgs{
    			HeaderName:  pulumi.String("string"),
    			Type:        pulumi.String("string"),
    			Secret:      pulumi.Bool(false),
    			SourceField: pulumi.String("string"),
    			Value:       pulumi.String("string"),
    		},
    	},
    	EventDeliverySchema: pulumi.String("string"),
    	EventhubEndpointId:  pulumi.String("string"),
    	Labels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	WebhookEndpoint: &eventgrid.EventSubscriptionWebhookEndpointArgs{
    		Url:                           pulumi.String("string"),
    		ActiveDirectoryAppIdOrUri:     pulumi.String("string"),
    		ActiveDirectoryTenantId:       pulumi.String("string"),
    		BaseUrl:                       pulumi.String("string"),
    		MaxEventsPerBatch:             pulumi.Int(0),
    		PreferredBatchSizeInKilobytes: pulumi.Int(0),
    	},
    	AzureFunctionEndpoint: &eventgrid.EventSubscriptionAzureFunctionEndpointArgs{
    		FunctionId:                    pulumi.String("string"),
    		MaxEventsPerBatch:             pulumi.Int(0),
    		PreferredBatchSizeInKilobytes: pulumi.Int(0),
    	},
    	ExpirationTimeUtc: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	RetryPolicy: &eventgrid.EventSubscriptionRetryPolicyArgs{
    		EventTimeToLive:     pulumi.Int(0),
    		MaxDeliveryAttempts: pulumi.Int(0),
    	},
    	AdvancedFilteringOnArraysEnabled: pulumi.Bool(false),
    	ServiceBusQueueEndpointId:        pulumi.String("string"),
    	ServiceBusTopicEndpointId:        pulumi.String("string"),
    	StorageBlobDeadLetterDestination: &eventgrid.EventSubscriptionStorageBlobDeadLetterDestinationArgs{
    		StorageAccountId:         pulumi.String("string"),
    		StorageBlobContainerName: pulumi.String("string"),
    	},
    	AdvancedFilter: &eventgrid.EventSubscriptionAdvancedFilterArgs{
    		BoolEquals: eventgrid.EventSubscriptionAdvancedFilterBoolEqualArray{
    			&eventgrid.EventSubscriptionAdvancedFilterBoolEqualArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.Bool(false),
    			},
    		},
    		IsNotNulls: eventgrid.EventSubscriptionAdvancedFilterIsNotNullArray{
    			&eventgrid.EventSubscriptionAdvancedFilterIsNotNullArgs{
    				Key: pulumi.String("string"),
    			},
    		},
    		IsNullOrUndefineds: eventgrid.EventSubscriptionAdvancedFilterIsNullOrUndefinedArray{
    			&eventgrid.EventSubscriptionAdvancedFilterIsNullOrUndefinedArgs{
    				Key: pulumi.String("string"),
    			},
    		},
    		NumberGreaterThanOrEquals: eventgrid.EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.Float64(0),
    			},
    		},
    		NumberGreaterThans: eventgrid.EventSubscriptionAdvancedFilterNumberGreaterThanArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberGreaterThanArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.Float64(0),
    			},
    		},
    		NumberInRanges: eventgrid.EventSubscriptionAdvancedFilterNumberInRangeArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberInRangeArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.Float64ArrayArray{
    					pulumi.Float64Array{
    						pulumi.Float64(0),
    					},
    				},
    			},
    		},
    		NumberIns: eventgrid.EventSubscriptionAdvancedFilterNumberInArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberInArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.Float64Array{
    					pulumi.Float64(0),
    				},
    			},
    		},
    		NumberLessThanOrEquals: eventgrid.EventSubscriptionAdvancedFilterNumberLessThanOrEqualArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberLessThanOrEqualArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.Float64(0),
    			},
    		},
    		NumberLessThans: eventgrid.EventSubscriptionAdvancedFilterNumberLessThanArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberLessThanArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.Float64(0),
    			},
    		},
    		NumberNotInRanges: eventgrid.EventSubscriptionAdvancedFilterNumberNotInRangeArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberNotInRangeArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.Float64ArrayArray{
    					pulumi.Float64Array{
    						pulumi.Float64(0),
    					},
    				},
    			},
    		},
    		NumberNotIns: eventgrid.EventSubscriptionAdvancedFilterNumberNotInArray{
    			&eventgrid.EventSubscriptionAdvancedFilterNumberNotInArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.Float64Array{
    					pulumi.Float64(0),
    				},
    			},
    		},
    		StringBeginsWiths: eventgrid.EventSubscriptionAdvancedFilterStringBeginsWithArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringBeginsWithArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringContains: eventgrid.EventSubscriptionAdvancedFilterStringContainArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringContainArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringEndsWiths: eventgrid.EventSubscriptionAdvancedFilterStringEndsWithArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringEndsWithArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringIns: eventgrid.EventSubscriptionAdvancedFilterStringInArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringInArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringNotBeginsWiths: eventgrid.EventSubscriptionAdvancedFilterStringNotBeginsWithArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringNotBeginsWithArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringNotContains: eventgrid.EventSubscriptionAdvancedFilterStringNotContainArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringNotContainArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringNotEndsWiths: eventgrid.EventSubscriptionAdvancedFilterStringNotEndsWithArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringNotEndsWithArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		StringNotIns: eventgrid.EventSubscriptionAdvancedFilterStringNotInArray{
    			&eventgrid.EventSubscriptionAdvancedFilterStringNotInArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SubjectFilter: &eventgrid.EventSubscriptionSubjectFilterArgs{
    		CaseSensitive:     pulumi.Bool(false),
    		SubjectBeginsWith: pulumi.String("string"),
    		SubjectEndsWith:   pulumi.String("string"),
    	},
    	HybridConnectionEndpointId: pulumi.String("string"),
    })
    
    var eventSubscriptionResource = new EventSubscription("eventSubscriptionResource", EventSubscriptionArgs.builder()
        .scope("string")
        .includedEventTypes("string")
        .storageQueueEndpoint(EventSubscriptionStorageQueueEndpointArgs.builder()
            .queueName("string")
            .storageAccountId("string")
            .queueMessageTimeToLiveInSeconds(0)
            .build())
        .deadLetterIdentity(EventSubscriptionDeadLetterIdentityArgs.builder()
            .type("string")
            .userAssignedIdentity("string")
            .build())
        .deliveryIdentity(EventSubscriptionDeliveryIdentityArgs.builder()
            .type("string")
            .userAssignedIdentity("string")
            .build())
        .deliveryProperties(EventSubscriptionDeliveryPropertyArgs.builder()
            .headerName("string")
            .type("string")
            .secret(false)
            .sourceField("string")
            .value("string")
            .build())
        .eventDeliverySchema("string")
        .eventhubEndpointId("string")
        .labels("string")
        .webhookEndpoint(EventSubscriptionWebhookEndpointArgs.builder()
            .url("string")
            .activeDirectoryAppIdOrUri("string")
            .activeDirectoryTenantId("string")
            .baseUrl("string")
            .maxEventsPerBatch(0)
            .preferredBatchSizeInKilobytes(0)
            .build())
        .azureFunctionEndpoint(EventSubscriptionAzureFunctionEndpointArgs.builder()
            .functionId("string")
            .maxEventsPerBatch(0)
            .preferredBatchSizeInKilobytes(0)
            .build())
        .expirationTimeUtc("string")
        .name("string")
        .retryPolicy(EventSubscriptionRetryPolicyArgs.builder()
            .eventTimeToLive(0)
            .maxDeliveryAttempts(0)
            .build())
        .advancedFilteringOnArraysEnabled(false)
        .serviceBusQueueEndpointId("string")
        .serviceBusTopicEndpointId("string")
        .storageBlobDeadLetterDestination(EventSubscriptionStorageBlobDeadLetterDestinationArgs.builder()
            .storageAccountId("string")
            .storageBlobContainerName("string")
            .build())
        .advancedFilter(EventSubscriptionAdvancedFilterArgs.builder()
            .boolEquals(EventSubscriptionAdvancedFilterBoolEqualArgs.builder()
                .key("string")
                .value(false)
                .build())
            .isNotNulls(EventSubscriptionAdvancedFilterIsNotNullArgs.builder()
                .key("string")
                .build())
            .isNullOrUndefineds(EventSubscriptionAdvancedFilterIsNullOrUndefinedArgs.builder()
                .key("string")
                .build())
            .numberGreaterThanOrEquals(EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArgs.builder()
                .key("string")
                .value(0)
                .build())
            .numberGreaterThans(EventSubscriptionAdvancedFilterNumberGreaterThanArgs.builder()
                .key("string")
                .value(0)
                .build())
            .numberInRanges(EventSubscriptionAdvancedFilterNumberInRangeArgs.builder()
                .key("string")
                .values(0)
                .build())
            .numberIns(EventSubscriptionAdvancedFilterNumberInArgs.builder()
                .key("string")
                .values(0)
                .build())
            .numberLessThanOrEquals(EventSubscriptionAdvancedFilterNumberLessThanOrEqualArgs.builder()
                .key("string")
                .value(0)
                .build())
            .numberLessThans(EventSubscriptionAdvancedFilterNumberLessThanArgs.builder()
                .key("string")
                .value(0)
                .build())
            .numberNotInRanges(EventSubscriptionAdvancedFilterNumberNotInRangeArgs.builder()
                .key("string")
                .values(0)
                .build())
            .numberNotIns(EventSubscriptionAdvancedFilterNumberNotInArgs.builder()
                .key("string")
                .values(0)
                .build())
            .stringBeginsWiths(EventSubscriptionAdvancedFilterStringBeginsWithArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringContains(EventSubscriptionAdvancedFilterStringContainArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringEndsWiths(EventSubscriptionAdvancedFilterStringEndsWithArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringIns(EventSubscriptionAdvancedFilterStringInArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringNotBeginsWiths(EventSubscriptionAdvancedFilterStringNotBeginsWithArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringNotContains(EventSubscriptionAdvancedFilterStringNotContainArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringNotEndsWiths(EventSubscriptionAdvancedFilterStringNotEndsWithArgs.builder()
                .key("string")
                .values("string")
                .build())
            .stringNotIns(EventSubscriptionAdvancedFilterStringNotInArgs.builder()
                .key("string")
                .values("string")
                .build())
            .build())
        .subjectFilter(EventSubscriptionSubjectFilterArgs.builder()
            .caseSensitive(false)
            .subjectBeginsWith("string")
            .subjectEndsWith("string")
            .build())
        .hybridConnectionEndpointId("string")
        .build());
    
    event_subscription_resource = azure.eventgrid.EventSubscription("eventSubscriptionResource",
        scope="string",
        included_event_types=["string"],
        storage_queue_endpoint=azure.eventgrid.EventSubscriptionStorageQueueEndpointArgs(
            queue_name="string",
            storage_account_id="string",
            queue_message_time_to_live_in_seconds=0,
        ),
        dead_letter_identity=azure.eventgrid.EventSubscriptionDeadLetterIdentityArgs(
            type="string",
            user_assigned_identity="string",
        ),
        delivery_identity=azure.eventgrid.EventSubscriptionDeliveryIdentityArgs(
            type="string",
            user_assigned_identity="string",
        ),
        delivery_properties=[azure.eventgrid.EventSubscriptionDeliveryPropertyArgs(
            header_name="string",
            type="string",
            secret=False,
            source_field="string",
            value="string",
        )],
        event_delivery_schema="string",
        eventhub_endpoint_id="string",
        labels=["string"],
        webhook_endpoint=azure.eventgrid.EventSubscriptionWebhookEndpointArgs(
            url="string",
            active_directory_app_id_or_uri="string",
            active_directory_tenant_id="string",
            base_url="string",
            max_events_per_batch=0,
            preferred_batch_size_in_kilobytes=0,
        ),
        azure_function_endpoint=azure.eventgrid.EventSubscriptionAzureFunctionEndpointArgs(
            function_id="string",
            max_events_per_batch=0,
            preferred_batch_size_in_kilobytes=0,
        ),
        expiration_time_utc="string",
        name="string",
        retry_policy=azure.eventgrid.EventSubscriptionRetryPolicyArgs(
            event_time_to_live=0,
            max_delivery_attempts=0,
        ),
        advanced_filtering_on_arrays_enabled=False,
        service_bus_queue_endpoint_id="string",
        service_bus_topic_endpoint_id="string",
        storage_blob_dead_letter_destination=azure.eventgrid.EventSubscriptionStorageBlobDeadLetterDestinationArgs(
            storage_account_id="string",
            storage_blob_container_name="string",
        ),
        advanced_filter=azure.eventgrid.EventSubscriptionAdvancedFilterArgs(
            bool_equals=[azure.eventgrid.EventSubscriptionAdvancedFilterBoolEqualArgs(
                key="string",
                value=False,
            )],
            is_not_nulls=[azure.eventgrid.EventSubscriptionAdvancedFilterIsNotNullArgs(
                key="string",
            )],
            is_null_or_undefineds=[azure.eventgrid.EventSubscriptionAdvancedFilterIsNullOrUndefinedArgs(
                key="string",
            )],
            number_greater_than_or_equals=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArgs(
                key="string",
                value=0,
            )],
            number_greater_thans=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberGreaterThanArgs(
                key="string",
                value=0,
            )],
            number_in_ranges=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberInRangeArgs(
                key="string",
                values=[[0]],
            )],
            number_ins=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberInArgs(
                key="string",
                values=[0],
            )],
            number_less_than_or_equals=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberLessThanOrEqualArgs(
                key="string",
                value=0,
            )],
            number_less_thans=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberLessThanArgs(
                key="string",
                value=0,
            )],
            number_not_in_ranges=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberNotInRangeArgs(
                key="string",
                values=[[0]],
            )],
            number_not_ins=[azure.eventgrid.EventSubscriptionAdvancedFilterNumberNotInArgs(
                key="string",
                values=[0],
            )],
            string_begins_withs=[azure.eventgrid.EventSubscriptionAdvancedFilterStringBeginsWithArgs(
                key="string",
                values=["string"],
            )],
            string_contains=[azure.eventgrid.EventSubscriptionAdvancedFilterStringContainArgs(
                key="string",
                values=["string"],
            )],
            string_ends_withs=[azure.eventgrid.EventSubscriptionAdvancedFilterStringEndsWithArgs(
                key="string",
                values=["string"],
            )],
            string_ins=[azure.eventgrid.EventSubscriptionAdvancedFilterStringInArgs(
                key="string",
                values=["string"],
            )],
            string_not_begins_withs=[azure.eventgrid.EventSubscriptionAdvancedFilterStringNotBeginsWithArgs(
                key="string",
                values=["string"],
            )],
            string_not_contains=[azure.eventgrid.EventSubscriptionAdvancedFilterStringNotContainArgs(
                key="string",
                values=["string"],
            )],
            string_not_ends_withs=[azure.eventgrid.EventSubscriptionAdvancedFilterStringNotEndsWithArgs(
                key="string",
                values=["string"],
            )],
            string_not_ins=[azure.eventgrid.EventSubscriptionAdvancedFilterStringNotInArgs(
                key="string",
                values=["string"],
            )],
        ),
        subject_filter=azure.eventgrid.EventSubscriptionSubjectFilterArgs(
            case_sensitive=False,
            subject_begins_with="string",
            subject_ends_with="string",
        ),
        hybrid_connection_endpoint_id="string")
    
    const eventSubscriptionResource = new azure.eventgrid.EventSubscription("eventSubscriptionResource", {
        scope: "string",
        includedEventTypes: ["string"],
        storageQueueEndpoint: {
            queueName: "string",
            storageAccountId: "string",
            queueMessageTimeToLiveInSeconds: 0,
        },
        deadLetterIdentity: {
            type: "string",
            userAssignedIdentity: "string",
        },
        deliveryIdentity: {
            type: "string",
            userAssignedIdentity: "string",
        },
        deliveryProperties: [{
            headerName: "string",
            type: "string",
            secret: false,
            sourceField: "string",
            value: "string",
        }],
        eventDeliverySchema: "string",
        eventhubEndpointId: "string",
        labels: ["string"],
        webhookEndpoint: {
            url: "string",
            activeDirectoryAppIdOrUri: "string",
            activeDirectoryTenantId: "string",
            baseUrl: "string",
            maxEventsPerBatch: 0,
            preferredBatchSizeInKilobytes: 0,
        },
        azureFunctionEndpoint: {
            functionId: "string",
            maxEventsPerBatch: 0,
            preferredBatchSizeInKilobytes: 0,
        },
        expirationTimeUtc: "string",
        name: "string",
        retryPolicy: {
            eventTimeToLive: 0,
            maxDeliveryAttempts: 0,
        },
        advancedFilteringOnArraysEnabled: false,
        serviceBusQueueEndpointId: "string",
        serviceBusTopicEndpointId: "string",
        storageBlobDeadLetterDestination: {
            storageAccountId: "string",
            storageBlobContainerName: "string",
        },
        advancedFilter: {
            boolEquals: [{
                key: "string",
                value: false,
            }],
            isNotNulls: [{
                key: "string",
            }],
            isNullOrUndefineds: [{
                key: "string",
            }],
            numberGreaterThanOrEquals: [{
                key: "string",
                value: 0,
            }],
            numberGreaterThans: [{
                key: "string",
                value: 0,
            }],
            numberInRanges: [{
                key: "string",
                values: [[0]],
            }],
            numberIns: [{
                key: "string",
                values: [0],
            }],
            numberLessThanOrEquals: [{
                key: "string",
                value: 0,
            }],
            numberLessThans: [{
                key: "string",
                value: 0,
            }],
            numberNotInRanges: [{
                key: "string",
                values: [[0]],
            }],
            numberNotIns: [{
                key: "string",
                values: [0],
            }],
            stringBeginsWiths: [{
                key: "string",
                values: ["string"],
            }],
            stringContains: [{
                key: "string",
                values: ["string"],
            }],
            stringEndsWiths: [{
                key: "string",
                values: ["string"],
            }],
            stringIns: [{
                key: "string",
                values: ["string"],
            }],
            stringNotBeginsWiths: [{
                key: "string",
                values: ["string"],
            }],
            stringNotContains: [{
                key: "string",
                values: ["string"],
            }],
            stringNotEndsWiths: [{
                key: "string",
                values: ["string"],
            }],
            stringNotIns: [{
                key: "string",
                values: ["string"],
            }],
        },
        subjectFilter: {
            caseSensitive: false,
            subjectBeginsWith: "string",
            subjectEndsWith: "string",
        },
        hybridConnectionEndpointId: "string",
    });
    
    type: azure:eventgrid:EventSubscription
    properties:
        advancedFilter:
            boolEquals:
                - key: string
                  value: false
            isNotNulls:
                - key: string
            isNullOrUndefineds:
                - key: string
            numberGreaterThanOrEquals:
                - key: string
                  value: 0
            numberGreaterThans:
                - key: string
                  value: 0
            numberInRanges:
                - key: string
                  values:
                    - - 0
            numberIns:
                - key: string
                  values:
                    - 0
            numberLessThanOrEquals:
                - key: string
                  value: 0
            numberLessThans:
                - key: string
                  value: 0
            numberNotInRanges:
                - key: string
                  values:
                    - - 0
            numberNotIns:
                - key: string
                  values:
                    - 0
            stringBeginsWiths:
                - key: string
                  values:
                    - string
            stringContains:
                - key: string
                  values:
                    - string
            stringEndsWiths:
                - key: string
                  values:
                    - string
            stringIns:
                - key: string
                  values:
                    - string
            stringNotBeginsWiths:
                - key: string
                  values:
                    - string
            stringNotContains:
                - key: string
                  values:
                    - string
            stringNotEndsWiths:
                - key: string
                  values:
                    - string
            stringNotIns:
                - key: string
                  values:
                    - string
        advancedFilteringOnArraysEnabled: false
        azureFunctionEndpoint:
            functionId: string
            maxEventsPerBatch: 0
            preferredBatchSizeInKilobytes: 0
        deadLetterIdentity:
            type: string
            userAssignedIdentity: string
        deliveryIdentity:
            type: string
            userAssignedIdentity: string
        deliveryProperties:
            - headerName: string
              secret: false
              sourceField: string
              type: string
              value: string
        eventDeliverySchema: string
        eventhubEndpointId: string
        expirationTimeUtc: string
        hybridConnectionEndpointId: string
        includedEventTypes:
            - string
        labels:
            - string
        name: string
        retryPolicy:
            eventTimeToLive: 0
            maxDeliveryAttempts: 0
        scope: string
        serviceBusQueueEndpointId: string
        serviceBusTopicEndpointId: string
        storageBlobDeadLetterDestination:
            storageAccountId: string
            storageBlobContainerName: string
        storageQueueEndpoint:
            queueMessageTimeToLiveInSeconds: 0
            queueName: string
            storageAccountId: string
        subjectFilter:
            caseSensitive: false
            subjectBeginsWith: string
            subjectEndsWith: string
        webhookEndpoint:
            activeDirectoryAppIdOrUri: string
            activeDirectoryTenantId: string
            baseUrl: string
            maxEventsPerBatch: 0
            preferredBatchSizeInKilobytes: 0
            url: string
    

    EventSubscription Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EventSubscription resource accepts the following input properties:

    Scope string
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    AdvancedFilter EventSubscriptionAdvancedFilter
    A advanced_filter block as defined below.
    AdvancedFilteringOnArraysEnabled bool
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    AzureFunctionEndpoint EventSubscriptionAzureFunctionEndpoint
    An azure_function_endpoint block as defined below.
    DeadLetterIdentity EventSubscriptionDeadLetterIdentity

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    DeliveryIdentity EventSubscriptionDeliveryIdentity
    A delivery_identity block as defined below.
    DeliveryProperties List<EventSubscriptionDeliveryProperty>
    One or more delivery_property blocks as defined below.
    EventDeliverySchema string
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    EventhubEndpointId string
    Specifies the id where the Event Hub is located.
    ExpirationTimeUtc string
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    HybridConnectionEndpointId string
    Specifies the id where the Hybrid Connection is located.
    IncludedEventTypes List<string>
    A list of applicable event types that need to be part of the event subscription.
    Labels List<string>
    A list of labels to assign to the event subscription.
    Name string
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    RetryPolicy EventSubscriptionRetryPolicy
    A retry_policy block as defined below.
    ServiceBusQueueEndpointId string
    Specifies the id where the Service Bus Queue is located.
    ServiceBusTopicEndpointId string
    Specifies the id where the Service Bus Topic is located.
    StorageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestination
    A storage_blob_dead_letter_destination block as defined below.
    StorageQueueEndpoint EventSubscriptionStorageQueueEndpoint
    A storage_queue_endpoint block as defined below.
    SubjectFilter EventSubscriptionSubjectFilter
    A subject_filter block as defined below.
    WebhookEndpoint EventSubscriptionWebhookEndpoint

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    Scope string
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    AdvancedFilter EventSubscriptionAdvancedFilterArgs
    A advanced_filter block as defined below.
    AdvancedFilteringOnArraysEnabled bool
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    AzureFunctionEndpoint EventSubscriptionAzureFunctionEndpointArgs
    An azure_function_endpoint block as defined below.
    DeadLetterIdentity EventSubscriptionDeadLetterIdentityArgs

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    DeliveryIdentity EventSubscriptionDeliveryIdentityArgs
    A delivery_identity block as defined below.
    DeliveryProperties []EventSubscriptionDeliveryPropertyArgs
    One or more delivery_property blocks as defined below.
    EventDeliverySchema string
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    EventhubEndpointId string
    Specifies the id where the Event Hub is located.
    ExpirationTimeUtc string
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    HybridConnectionEndpointId string
    Specifies the id where the Hybrid Connection is located.
    IncludedEventTypes []string
    A list of applicable event types that need to be part of the event subscription.
    Labels []string
    A list of labels to assign to the event subscription.
    Name string
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    RetryPolicy EventSubscriptionRetryPolicyArgs
    A retry_policy block as defined below.
    ServiceBusQueueEndpointId string
    Specifies the id where the Service Bus Queue is located.
    ServiceBusTopicEndpointId string
    Specifies the id where the Service Bus Topic is located.
    StorageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestinationArgs
    A storage_blob_dead_letter_destination block as defined below.
    StorageQueueEndpoint EventSubscriptionStorageQueueEndpointArgs
    A storage_queue_endpoint block as defined below.
    SubjectFilter EventSubscriptionSubjectFilterArgs
    A subject_filter block as defined below.
    WebhookEndpoint EventSubscriptionWebhookEndpointArgs

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    scope String
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    advancedFilter EventSubscriptionAdvancedFilter
    A advanced_filter block as defined below.
    advancedFilteringOnArraysEnabled Boolean
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azureFunctionEndpoint EventSubscriptionAzureFunctionEndpoint
    An azure_function_endpoint block as defined below.
    deadLetterIdentity EventSubscriptionDeadLetterIdentity

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    deliveryIdentity EventSubscriptionDeliveryIdentity
    A delivery_identity block as defined below.
    deliveryProperties List<EventSubscriptionDeliveryProperty>
    One or more delivery_property blocks as defined below.
    eventDeliverySchema String
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhubEndpointId String
    Specifies the id where the Event Hub is located.
    expirationTimeUtc String
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybridConnectionEndpointId String
    Specifies the id where the Hybrid Connection is located.
    includedEventTypes List<String>
    A list of applicable event types that need to be part of the event subscription.
    labels List<String>
    A list of labels to assign to the event subscription.
    name String
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retryPolicy EventSubscriptionRetryPolicy
    A retry_policy block as defined below.
    serviceBusQueueEndpointId String
    Specifies the id where the Service Bus Queue is located.
    serviceBusTopicEndpointId String
    Specifies the id where the Service Bus Topic is located.
    storageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestination
    A storage_blob_dead_letter_destination block as defined below.
    storageQueueEndpoint EventSubscriptionStorageQueueEndpoint
    A storage_queue_endpoint block as defined below.
    subjectFilter EventSubscriptionSubjectFilter
    A subject_filter block as defined below.
    webhookEndpoint EventSubscriptionWebhookEndpoint

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    scope string
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    advancedFilter EventSubscriptionAdvancedFilter
    A advanced_filter block as defined below.
    advancedFilteringOnArraysEnabled boolean
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azureFunctionEndpoint EventSubscriptionAzureFunctionEndpoint
    An azure_function_endpoint block as defined below.
    deadLetterIdentity EventSubscriptionDeadLetterIdentity

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    deliveryIdentity EventSubscriptionDeliveryIdentity
    A delivery_identity block as defined below.
    deliveryProperties EventSubscriptionDeliveryProperty[]
    One or more delivery_property blocks as defined below.
    eventDeliverySchema string
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhubEndpointId string
    Specifies the id where the Event Hub is located.
    expirationTimeUtc string
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybridConnectionEndpointId string
    Specifies the id where the Hybrid Connection is located.
    includedEventTypes string[]
    A list of applicable event types that need to be part of the event subscription.
    labels string[]
    A list of labels to assign to the event subscription.
    name string
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retryPolicy EventSubscriptionRetryPolicy
    A retry_policy block as defined below.
    serviceBusQueueEndpointId string
    Specifies the id where the Service Bus Queue is located.
    serviceBusTopicEndpointId string
    Specifies the id where the Service Bus Topic is located.
    storageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestination
    A storage_blob_dead_letter_destination block as defined below.
    storageQueueEndpoint EventSubscriptionStorageQueueEndpoint
    A storage_queue_endpoint block as defined below.
    subjectFilter EventSubscriptionSubjectFilter
    A subject_filter block as defined below.
    webhookEndpoint EventSubscriptionWebhookEndpoint

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    scope str
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    advanced_filter EventSubscriptionAdvancedFilterArgs
    A advanced_filter block as defined below.
    advanced_filtering_on_arrays_enabled bool
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azure_function_endpoint EventSubscriptionAzureFunctionEndpointArgs
    An azure_function_endpoint block as defined below.
    dead_letter_identity EventSubscriptionDeadLetterIdentityArgs

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    delivery_identity EventSubscriptionDeliveryIdentityArgs
    A delivery_identity block as defined below.
    delivery_properties Sequence[EventSubscriptionDeliveryPropertyArgs]
    One or more delivery_property blocks as defined below.
    event_delivery_schema str
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhub_endpoint_id str
    Specifies the id where the Event Hub is located.
    expiration_time_utc str
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybrid_connection_endpoint_id str
    Specifies the id where the Hybrid Connection is located.
    included_event_types Sequence[str]
    A list of applicable event types that need to be part of the event subscription.
    labels Sequence[str]
    A list of labels to assign to the event subscription.
    name str
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retry_policy EventSubscriptionRetryPolicyArgs
    A retry_policy block as defined below.
    service_bus_queue_endpoint_id str
    Specifies the id where the Service Bus Queue is located.
    service_bus_topic_endpoint_id str
    Specifies the id where the Service Bus Topic is located.
    storage_blob_dead_letter_destination EventSubscriptionStorageBlobDeadLetterDestinationArgs
    A storage_blob_dead_letter_destination block as defined below.
    storage_queue_endpoint EventSubscriptionStorageQueueEndpointArgs
    A storage_queue_endpoint block as defined below.
    subject_filter EventSubscriptionSubjectFilterArgs
    A subject_filter block as defined below.
    webhook_endpoint EventSubscriptionWebhookEndpointArgs

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    scope String
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    advancedFilter Property Map
    A advanced_filter block as defined below.
    advancedFilteringOnArraysEnabled Boolean
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azureFunctionEndpoint Property Map
    An azure_function_endpoint block as defined below.
    deadLetterIdentity Property Map

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    deliveryIdentity Property Map
    A delivery_identity block as defined below.
    deliveryProperties List<Property Map>
    One or more delivery_property blocks as defined below.
    eventDeliverySchema String
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhubEndpointId String
    Specifies the id where the Event Hub is located.
    expirationTimeUtc String
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybridConnectionEndpointId String
    Specifies the id where the Hybrid Connection is located.
    includedEventTypes List<String>
    A list of applicable event types that need to be part of the event subscription.
    labels List<String>
    A list of labels to assign to the event subscription.
    name String
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retryPolicy Property Map
    A retry_policy block as defined below.
    serviceBusQueueEndpointId String
    Specifies the id where the Service Bus Queue is located.
    serviceBusTopicEndpointId String
    Specifies the id where the Service Bus Topic is located.
    storageBlobDeadLetterDestination Property Map
    A storage_blob_dead_letter_destination block as defined below.
    storageQueueEndpoint Property Map
    A storage_queue_endpoint block as defined below.
    subjectFilter Property Map
    A subject_filter block as defined below.
    webhookEndpoint Property Map

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventSubscription resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EventSubscription Resource

    Get an existing EventSubscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EventSubscriptionState, opts?: CustomResourceOptions): EventSubscription
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advanced_filter: Optional[EventSubscriptionAdvancedFilterArgs] = None,
            advanced_filtering_on_arrays_enabled: Optional[bool] = None,
            azure_function_endpoint: Optional[EventSubscriptionAzureFunctionEndpointArgs] = None,
            dead_letter_identity: Optional[EventSubscriptionDeadLetterIdentityArgs] = None,
            delivery_identity: Optional[EventSubscriptionDeliveryIdentityArgs] = None,
            delivery_properties: Optional[Sequence[EventSubscriptionDeliveryPropertyArgs]] = None,
            event_delivery_schema: Optional[str] = None,
            eventhub_endpoint_id: Optional[str] = None,
            expiration_time_utc: Optional[str] = None,
            hybrid_connection_endpoint_id: Optional[str] = None,
            included_event_types: Optional[Sequence[str]] = None,
            labels: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            retry_policy: Optional[EventSubscriptionRetryPolicyArgs] = None,
            scope: Optional[str] = None,
            service_bus_queue_endpoint_id: Optional[str] = None,
            service_bus_topic_endpoint_id: Optional[str] = None,
            storage_blob_dead_letter_destination: Optional[EventSubscriptionStorageBlobDeadLetterDestinationArgs] = None,
            storage_queue_endpoint: Optional[EventSubscriptionStorageQueueEndpointArgs] = None,
            subject_filter: Optional[EventSubscriptionSubjectFilterArgs] = None,
            webhook_endpoint: Optional[EventSubscriptionWebhookEndpointArgs] = None) -> EventSubscription
    func GetEventSubscription(ctx *Context, name string, id IDInput, state *EventSubscriptionState, opts ...ResourceOption) (*EventSubscription, error)
    public static EventSubscription Get(string name, Input<string> id, EventSubscriptionState? state, CustomResourceOptions? opts = null)
    public static EventSubscription get(String name, Output<String> id, EventSubscriptionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdvancedFilter EventSubscriptionAdvancedFilter
    A advanced_filter block as defined below.
    AdvancedFilteringOnArraysEnabled bool
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    AzureFunctionEndpoint EventSubscriptionAzureFunctionEndpoint
    An azure_function_endpoint block as defined below.
    DeadLetterIdentity EventSubscriptionDeadLetterIdentity

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    DeliveryIdentity EventSubscriptionDeliveryIdentity
    A delivery_identity block as defined below.
    DeliveryProperties List<EventSubscriptionDeliveryProperty>
    One or more delivery_property blocks as defined below.
    EventDeliverySchema string
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    EventhubEndpointId string
    Specifies the id where the Event Hub is located.
    ExpirationTimeUtc string
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    HybridConnectionEndpointId string
    Specifies the id where the Hybrid Connection is located.
    IncludedEventTypes List<string>
    A list of applicable event types that need to be part of the event subscription.
    Labels List<string>
    A list of labels to assign to the event subscription.
    Name string
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    RetryPolicy EventSubscriptionRetryPolicy
    A retry_policy block as defined below.
    Scope string
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    ServiceBusQueueEndpointId string
    Specifies the id where the Service Bus Queue is located.
    ServiceBusTopicEndpointId string
    Specifies the id where the Service Bus Topic is located.
    StorageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestination
    A storage_blob_dead_letter_destination block as defined below.
    StorageQueueEndpoint EventSubscriptionStorageQueueEndpoint
    A storage_queue_endpoint block as defined below.
    SubjectFilter EventSubscriptionSubjectFilter
    A subject_filter block as defined below.
    WebhookEndpoint EventSubscriptionWebhookEndpoint

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    AdvancedFilter EventSubscriptionAdvancedFilterArgs
    A advanced_filter block as defined below.
    AdvancedFilteringOnArraysEnabled bool
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    AzureFunctionEndpoint EventSubscriptionAzureFunctionEndpointArgs
    An azure_function_endpoint block as defined below.
    DeadLetterIdentity EventSubscriptionDeadLetterIdentityArgs

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    DeliveryIdentity EventSubscriptionDeliveryIdentityArgs
    A delivery_identity block as defined below.
    DeliveryProperties []EventSubscriptionDeliveryPropertyArgs
    One or more delivery_property blocks as defined below.
    EventDeliverySchema string
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    EventhubEndpointId string
    Specifies the id where the Event Hub is located.
    ExpirationTimeUtc string
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    HybridConnectionEndpointId string
    Specifies the id where the Hybrid Connection is located.
    IncludedEventTypes []string
    A list of applicable event types that need to be part of the event subscription.
    Labels []string
    A list of labels to assign to the event subscription.
    Name string
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    RetryPolicy EventSubscriptionRetryPolicyArgs
    A retry_policy block as defined below.
    Scope string
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    ServiceBusQueueEndpointId string
    Specifies the id where the Service Bus Queue is located.
    ServiceBusTopicEndpointId string
    Specifies the id where the Service Bus Topic is located.
    StorageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestinationArgs
    A storage_blob_dead_letter_destination block as defined below.
    StorageQueueEndpoint EventSubscriptionStorageQueueEndpointArgs
    A storage_queue_endpoint block as defined below.
    SubjectFilter EventSubscriptionSubjectFilterArgs
    A subject_filter block as defined below.
    WebhookEndpoint EventSubscriptionWebhookEndpointArgs

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    advancedFilter EventSubscriptionAdvancedFilter
    A advanced_filter block as defined below.
    advancedFilteringOnArraysEnabled Boolean
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azureFunctionEndpoint EventSubscriptionAzureFunctionEndpoint
    An azure_function_endpoint block as defined below.
    deadLetterIdentity EventSubscriptionDeadLetterIdentity

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    deliveryIdentity EventSubscriptionDeliveryIdentity
    A delivery_identity block as defined below.
    deliveryProperties List<EventSubscriptionDeliveryProperty>
    One or more delivery_property blocks as defined below.
    eventDeliverySchema String
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhubEndpointId String
    Specifies the id where the Event Hub is located.
    expirationTimeUtc String
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybridConnectionEndpointId String
    Specifies the id where the Hybrid Connection is located.
    includedEventTypes List<String>
    A list of applicable event types that need to be part of the event subscription.
    labels List<String>
    A list of labels to assign to the event subscription.
    name String
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retryPolicy EventSubscriptionRetryPolicy
    A retry_policy block as defined below.
    scope String
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    serviceBusQueueEndpointId String
    Specifies the id where the Service Bus Queue is located.
    serviceBusTopicEndpointId String
    Specifies the id where the Service Bus Topic is located.
    storageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestination
    A storage_blob_dead_letter_destination block as defined below.
    storageQueueEndpoint EventSubscriptionStorageQueueEndpoint
    A storage_queue_endpoint block as defined below.
    subjectFilter EventSubscriptionSubjectFilter
    A subject_filter block as defined below.
    webhookEndpoint EventSubscriptionWebhookEndpoint

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    advancedFilter EventSubscriptionAdvancedFilter
    A advanced_filter block as defined below.
    advancedFilteringOnArraysEnabled boolean
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azureFunctionEndpoint EventSubscriptionAzureFunctionEndpoint
    An azure_function_endpoint block as defined below.
    deadLetterIdentity EventSubscriptionDeadLetterIdentity

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    deliveryIdentity EventSubscriptionDeliveryIdentity
    A delivery_identity block as defined below.
    deliveryProperties EventSubscriptionDeliveryProperty[]
    One or more delivery_property blocks as defined below.
    eventDeliverySchema string
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhubEndpointId string
    Specifies the id where the Event Hub is located.
    expirationTimeUtc string
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybridConnectionEndpointId string
    Specifies the id where the Hybrid Connection is located.
    includedEventTypes string[]
    A list of applicable event types that need to be part of the event subscription.
    labels string[]
    A list of labels to assign to the event subscription.
    name string
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retryPolicy EventSubscriptionRetryPolicy
    A retry_policy block as defined below.
    scope string
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    serviceBusQueueEndpointId string
    Specifies the id where the Service Bus Queue is located.
    serviceBusTopicEndpointId string
    Specifies the id where the Service Bus Topic is located.
    storageBlobDeadLetterDestination EventSubscriptionStorageBlobDeadLetterDestination
    A storage_blob_dead_letter_destination block as defined below.
    storageQueueEndpoint EventSubscriptionStorageQueueEndpoint
    A storage_queue_endpoint block as defined below.
    subjectFilter EventSubscriptionSubjectFilter
    A subject_filter block as defined below.
    webhookEndpoint EventSubscriptionWebhookEndpoint

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    advanced_filter EventSubscriptionAdvancedFilterArgs
    A advanced_filter block as defined below.
    advanced_filtering_on_arrays_enabled bool
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azure_function_endpoint EventSubscriptionAzureFunctionEndpointArgs
    An azure_function_endpoint block as defined below.
    dead_letter_identity EventSubscriptionDeadLetterIdentityArgs

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    delivery_identity EventSubscriptionDeliveryIdentityArgs
    A delivery_identity block as defined below.
    delivery_properties Sequence[EventSubscriptionDeliveryPropertyArgs]
    One or more delivery_property blocks as defined below.
    event_delivery_schema str
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhub_endpoint_id str
    Specifies the id where the Event Hub is located.
    expiration_time_utc str
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybrid_connection_endpoint_id str
    Specifies the id where the Hybrid Connection is located.
    included_event_types Sequence[str]
    A list of applicable event types that need to be part of the event subscription.
    labels Sequence[str]
    A list of labels to assign to the event subscription.
    name str
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retry_policy EventSubscriptionRetryPolicyArgs
    A retry_policy block as defined below.
    scope str
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    service_bus_queue_endpoint_id str
    Specifies the id where the Service Bus Queue is located.
    service_bus_topic_endpoint_id str
    Specifies the id where the Service Bus Topic is located.
    storage_blob_dead_letter_destination EventSubscriptionStorageBlobDeadLetterDestinationArgs
    A storage_blob_dead_letter_destination block as defined below.
    storage_queue_endpoint EventSubscriptionStorageQueueEndpointArgs
    A storage_queue_endpoint block as defined below.
    subject_filter EventSubscriptionSubjectFilterArgs
    A subject_filter block as defined below.
    webhook_endpoint EventSubscriptionWebhookEndpointArgs

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    advancedFilter Property Map
    A advanced_filter block as defined below.
    advancedFilteringOnArraysEnabled Boolean
    Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to false.
    azureFunctionEndpoint Property Map
    An azure_function_endpoint block as defined below.
    deadLetterIdentity Property Map

    A dead_letter_identity block as defined below.

    Note: storage_blob_dead_letter_destination must be specified when a dead_letter_identity is specified

    deliveryIdentity Property Map
    A delivery_identity block as defined below.
    deliveryProperties List<Property Map>
    One or more delivery_property blocks as defined below.
    eventDeliverySchema String
    Specifies the event delivery schema for the event subscription. Possible values include: EventGridSchema, CloudEventSchemaV1_0, CustomInputSchema. Defaults to EventGridSchema. Changing this forces a new resource to be created.
    eventhubEndpointId String
    Specifies the id where the Event Hub is located.
    expirationTimeUtc String
    Specifies the expiration time of the event subscription (Datetime Format RFC 3339).
    hybridConnectionEndpointId String
    Specifies the id where the Hybrid Connection is located.
    includedEventTypes List<String>
    A list of applicable event types that need to be part of the event subscription.
    labels List<String>
    A list of labels to assign to the event subscription.
    name String
    Specifies the name of the EventGrid Event Subscription resource. Changing this forces a new resource to be created.
    retryPolicy Property Map
    A retry_policy block as defined below.
    scope String
    Specifies the scope at which the EventGrid Event Subscription should be created. Changing this forces a new resource to be created.
    serviceBusQueueEndpointId String
    Specifies the id where the Service Bus Queue is located.
    serviceBusTopicEndpointId String
    Specifies the id where the Service Bus Topic is located.
    storageBlobDeadLetterDestination Property Map
    A storage_blob_dead_letter_destination block as defined below.
    storageQueueEndpoint Property Map
    A storage_queue_endpoint block as defined below.
    subjectFilter Property Map
    A subject_filter block as defined below.
    webhookEndpoint Property Map

    A webhook_endpoint block as defined below.

    NOTE: One of eventhub_endpoint_id, hybrid_connection_endpoint_id, service_bus_queue_endpoint_id, service_bus_topic_endpoint_id, storage_queue_endpoint, webhook_endpoint or azure_function_endpoint must be specified.

    Supporting Types

    EventSubscriptionAdvancedFilter, EventSubscriptionAdvancedFilterArgs

    BoolEquals List<EventSubscriptionAdvancedFilterBoolEqual>
    Compares a value of an event using a single boolean value.
    IsNotNulls List<EventSubscriptionAdvancedFilterIsNotNull>
    Evaluates if a value of an event isn't NULL or undefined.
    IsNullOrUndefineds List<EventSubscriptionAdvancedFilterIsNullOrUndefined>

    Evaluates if a value of an event is NULL or undefined.

    Each nested block consists of a key and a value(s) element.

    NumberGreaterThanOrEquals List<EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual>
    Compares a value of an event using a single floating point number.
    NumberGreaterThans List<EventSubscriptionAdvancedFilterNumberGreaterThan>
    Compares a value of an event using a single floating point number.
    NumberInRanges List<EventSubscriptionAdvancedFilterNumberInRange>
    Compares a value of an event using multiple floating point number ranges.
    NumberIns List<EventSubscriptionAdvancedFilterNumberIn>
    Compares a value of an event using multiple floating point numbers.
    NumberLessThanOrEquals List<EventSubscriptionAdvancedFilterNumberLessThanOrEqual>
    Compares a value of an event using a single floating point number.
    NumberLessThans List<EventSubscriptionAdvancedFilterNumberLessThan>
    Compares a value of an event using a single floating point number.
    NumberNotInRanges List<EventSubscriptionAdvancedFilterNumberNotInRange>
    Compares a value of an event using multiple floating point number ranges.
    NumberNotIns List<EventSubscriptionAdvancedFilterNumberNotIn>
    Compares a value of an event using multiple floating point numbers.
    StringBeginsWiths List<EventSubscriptionAdvancedFilterStringBeginsWith>
    Compares a value of an event using multiple string values.
    StringContains List<EventSubscriptionAdvancedFilterStringContain>
    Compares a value of an event using multiple string values.
    StringEndsWiths List<EventSubscriptionAdvancedFilterStringEndsWith>
    Compares a value of an event using multiple string values.
    StringIns List<EventSubscriptionAdvancedFilterStringIn>
    Compares a value of an event using multiple string values.
    StringNotBeginsWiths List<EventSubscriptionAdvancedFilterStringNotBeginsWith>
    Compares a value of an event using multiple string values.
    StringNotContains List<EventSubscriptionAdvancedFilterStringNotContain>
    Compares a value of an event using multiple string values.
    StringNotEndsWiths List<EventSubscriptionAdvancedFilterStringNotEndsWith>
    Compares a value of an event using multiple string values.
    StringNotIns List<EventSubscriptionAdvancedFilterStringNotIn>
    Compares a value of an event using multiple string values.
    BoolEquals []EventSubscriptionAdvancedFilterBoolEqual
    Compares a value of an event using a single boolean value.
    IsNotNulls []EventSubscriptionAdvancedFilterIsNotNull
    Evaluates if a value of an event isn't NULL or undefined.
    IsNullOrUndefineds []EventSubscriptionAdvancedFilterIsNullOrUndefined

    Evaluates if a value of an event is NULL or undefined.

    Each nested block consists of a key and a value(s) element.

    NumberGreaterThanOrEquals []EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual
    Compares a value of an event using a single floating point number.
    NumberGreaterThans []EventSubscriptionAdvancedFilterNumberGreaterThan
    Compares a value of an event using a single floating point number.
    NumberInRanges []EventSubscriptionAdvancedFilterNumberInRange
    Compares a value of an event using multiple floating point number ranges.
    NumberIns []EventSubscriptionAdvancedFilterNumberIn
    Compares a value of an event using multiple floating point numbers.
    NumberLessThanOrEquals []EventSubscriptionAdvancedFilterNumberLessThanOrEqual
    Compares a value of an event using a single floating point number.
    NumberLessThans []EventSubscriptionAdvancedFilterNumberLessThan
    Compares a value of an event using a single floating point number.
    NumberNotInRanges []EventSubscriptionAdvancedFilterNumberNotInRange
    Compares a value of an event using multiple floating point number ranges.
    NumberNotIns []EventSubscriptionAdvancedFilterNumberNotIn
    Compares a value of an event using multiple floating point numbers.
    StringBeginsWiths []EventSubscriptionAdvancedFilterStringBeginsWith
    Compares a value of an event using multiple string values.
    StringContains []EventSubscriptionAdvancedFilterStringContain
    Compares a value of an event using multiple string values.
    StringEndsWiths []EventSubscriptionAdvancedFilterStringEndsWith
    Compares a value of an event using multiple string values.
    StringIns []EventSubscriptionAdvancedFilterStringIn
    Compares a value of an event using multiple string values.
    StringNotBeginsWiths []EventSubscriptionAdvancedFilterStringNotBeginsWith
    Compares a value of an event using multiple string values.
    StringNotContains []EventSubscriptionAdvancedFilterStringNotContain
    Compares a value of an event using multiple string values.
    StringNotEndsWiths []EventSubscriptionAdvancedFilterStringNotEndsWith
    Compares a value of an event using multiple string values.
    StringNotIns []EventSubscriptionAdvancedFilterStringNotIn
    Compares a value of an event using multiple string values.
    boolEquals List<EventSubscriptionAdvancedFilterBoolEqual>
    Compares a value of an event using a single boolean value.
    isNotNulls List<EventSubscriptionAdvancedFilterIsNotNull>
    Evaluates if a value of an event isn't NULL or undefined.
    isNullOrUndefineds List<EventSubscriptionAdvancedFilterIsNullOrUndefined>

    Evaluates if a value of an event is NULL or undefined.

    Each nested block consists of a key and a value(s) element.

    numberGreaterThanOrEquals List<EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual>
    Compares a value of an event using a single floating point number.
    numberGreaterThans List<EventSubscriptionAdvancedFilterNumberGreaterThan>
    Compares a value of an event using a single floating point number.
    numberInRanges List<EventSubscriptionAdvancedFilterNumberInRange>
    Compares a value of an event using multiple floating point number ranges.
    numberIns List<EventSubscriptionAdvancedFilterNumberIn>
    Compares a value of an event using multiple floating point numbers.
    numberLessThanOrEquals List<EventSubscriptionAdvancedFilterNumberLessThanOrEqual>
    Compares a value of an event using a single floating point number.
    numberLessThans List<EventSubscriptionAdvancedFilterNumberLessThan>
    Compares a value of an event using a single floating point number.
    numberNotInRanges List<EventSubscriptionAdvancedFilterNumberNotInRange>
    Compares a value of an event using multiple floating point number ranges.
    numberNotIns List<EventSubscriptionAdvancedFilterNumberNotIn>
    Compares a value of an event using multiple floating point numbers.
    stringBeginsWiths List<EventSubscriptionAdvancedFilterStringBeginsWith>
    Compares a value of an event using multiple string values.
    stringContains List<EventSubscriptionAdvancedFilterStringContain>
    Compares a value of an event using multiple string values.
    stringEndsWiths List<EventSubscriptionAdvancedFilterStringEndsWith>
    Compares a value of an event using multiple string values.
    stringIns List<EventSubscriptionAdvancedFilterStringIn>
    Compares a value of an event using multiple string values.
    stringNotBeginsWiths List<EventSubscriptionAdvancedFilterStringNotBeginsWith>
    Compares a value of an event using multiple string values.
    stringNotContains List<EventSubscriptionAdvancedFilterStringNotContain>
    Compares a value of an event using multiple string values.
    stringNotEndsWiths List<EventSubscriptionAdvancedFilterStringNotEndsWith>
    Compares a value of an event using multiple string values.
    stringNotIns List<EventSubscriptionAdvancedFilterStringNotIn>
    Compares a value of an event using multiple string values.
    boolEquals EventSubscriptionAdvancedFilterBoolEqual[]
    Compares a value of an event using a single boolean value.
    isNotNulls EventSubscriptionAdvancedFilterIsNotNull[]
    Evaluates if a value of an event isn't NULL or undefined.
    isNullOrUndefineds EventSubscriptionAdvancedFilterIsNullOrUndefined[]

    Evaluates if a value of an event is NULL or undefined.

    Each nested block consists of a key and a value(s) element.

    numberGreaterThanOrEquals EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual[]
    Compares a value of an event using a single floating point number.
    numberGreaterThans EventSubscriptionAdvancedFilterNumberGreaterThan[]
    Compares a value of an event using a single floating point number.
    numberInRanges EventSubscriptionAdvancedFilterNumberInRange[]
    Compares a value of an event using multiple floating point number ranges.
    numberIns EventSubscriptionAdvancedFilterNumberIn[]
    Compares a value of an event using multiple floating point numbers.
    numberLessThanOrEquals EventSubscriptionAdvancedFilterNumberLessThanOrEqual[]
    Compares a value of an event using a single floating point number.
    numberLessThans EventSubscriptionAdvancedFilterNumberLessThan[]
    Compares a value of an event using a single floating point number.
    numberNotInRanges EventSubscriptionAdvancedFilterNumberNotInRange[]
    Compares a value of an event using multiple floating point number ranges.
    numberNotIns EventSubscriptionAdvancedFilterNumberNotIn[]
    Compares a value of an event using multiple floating point numbers.
    stringBeginsWiths EventSubscriptionAdvancedFilterStringBeginsWith[]
    Compares a value of an event using multiple string values.
    stringContains EventSubscriptionAdvancedFilterStringContain[]
    Compares a value of an event using multiple string values.
    stringEndsWiths EventSubscriptionAdvancedFilterStringEndsWith[]
    Compares a value of an event using multiple string values.
    stringIns EventSubscriptionAdvancedFilterStringIn[]
    Compares a value of an event using multiple string values.
    stringNotBeginsWiths EventSubscriptionAdvancedFilterStringNotBeginsWith[]
    Compares a value of an event using multiple string values.
    stringNotContains EventSubscriptionAdvancedFilterStringNotContain[]
    Compares a value of an event using multiple string values.
    stringNotEndsWiths EventSubscriptionAdvancedFilterStringNotEndsWith[]
    Compares a value of an event using multiple string values.
    stringNotIns EventSubscriptionAdvancedFilterStringNotIn[]
    Compares a value of an event using multiple string values.
    bool_equals Sequence[EventSubscriptionAdvancedFilterBoolEqual]
    Compares a value of an event using a single boolean value.
    is_not_nulls Sequence[EventSubscriptionAdvancedFilterIsNotNull]
    Evaluates if a value of an event isn't NULL or undefined.
    is_null_or_undefineds Sequence[EventSubscriptionAdvancedFilterIsNullOrUndefined]

    Evaluates if a value of an event is NULL or undefined.

    Each nested block consists of a key and a value(s) element.

    number_greater_than_or_equals Sequence[EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual]
    Compares a value of an event using a single floating point number.
    number_greater_thans Sequence[EventSubscriptionAdvancedFilterNumberGreaterThan]
    Compares a value of an event using a single floating point number.
    number_in_ranges Sequence[EventSubscriptionAdvancedFilterNumberInRange]
    Compares a value of an event using multiple floating point number ranges.
    number_ins Sequence[EventSubscriptionAdvancedFilterNumberIn]
    Compares a value of an event using multiple floating point numbers.
    number_less_than_or_equals Sequence[EventSubscriptionAdvancedFilterNumberLessThanOrEqual]
    Compares a value of an event using a single floating point number.
    number_less_thans Sequence[EventSubscriptionAdvancedFilterNumberLessThan]
    Compares a value of an event using a single floating point number.
    number_not_in_ranges Sequence[EventSubscriptionAdvancedFilterNumberNotInRange]
    Compares a value of an event using multiple floating point number ranges.
    number_not_ins Sequence[EventSubscriptionAdvancedFilterNumberNotIn]
    Compares a value of an event using multiple floating point numbers.
    string_begins_withs Sequence[EventSubscriptionAdvancedFilterStringBeginsWith]
    Compares a value of an event using multiple string values.
    string_contains Sequence[EventSubscriptionAdvancedFilterStringContain]
    Compares a value of an event using multiple string values.
    string_ends_withs Sequence[EventSubscriptionAdvancedFilterStringEndsWith]
    Compares a value of an event using multiple string values.
    string_ins Sequence[EventSubscriptionAdvancedFilterStringIn]
    Compares a value of an event using multiple string values.
    string_not_begins_withs Sequence[EventSubscriptionAdvancedFilterStringNotBeginsWith]
    Compares a value of an event using multiple string values.
    string_not_contains Sequence[EventSubscriptionAdvancedFilterStringNotContain]
    Compares a value of an event using multiple string values.
    string_not_ends_withs Sequence[EventSubscriptionAdvancedFilterStringNotEndsWith]
    Compares a value of an event using multiple string values.
    string_not_ins Sequence[EventSubscriptionAdvancedFilterStringNotIn]
    Compares a value of an event using multiple string values.
    boolEquals List<Property Map>
    Compares a value of an event using a single boolean value.
    isNotNulls List<Property Map>
    Evaluates if a value of an event isn't NULL or undefined.
    isNullOrUndefineds List<Property Map>

    Evaluates if a value of an event is NULL or undefined.

    Each nested block consists of a key and a value(s) element.

    numberGreaterThanOrEquals List<Property Map>
    Compares a value of an event using a single floating point number.
    numberGreaterThans List<Property Map>
    Compares a value of an event using a single floating point number.
    numberInRanges List<Property Map>
    Compares a value of an event using multiple floating point number ranges.
    numberIns List<Property Map>
    Compares a value of an event using multiple floating point numbers.
    numberLessThanOrEquals List<Property Map>
    Compares a value of an event using a single floating point number.
    numberLessThans List<Property Map>
    Compares a value of an event using a single floating point number.
    numberNotInRanges List<Property Map>
    Compares a value of an event using multiple floating point number ranges.
    numberNotIns List<Property Map>
    Compares a value of an event using multiple floating point numbers.
    stringBeginsWiths List<Property Map>
    Compares a value of an event using multiple string values.
    stringContains List<Property Map>
    Compares a value of an event using multiple string values.
    stringEndsWiths List<Property Map>
    Compares a value of an event using multiple string values.
    stringIns List<Property Map>
    Compares a value of an event using multiple string values.
    stringNotBeginsWiths List<Property Map>
    Compares a value of an event using multiple string values.
    stringNotContains List<Property Map>
    Compares a value of an event using multiple string values.
    stringNotEndsWiths List<Property Map>
    Compares a value of an event using multiple string values.
    stringNotIns List<Property Map>
    Compares a value of an event using multiple string values.

    EventSubscriptionAdvancedFilterBoolEqual, EventSubscriptionAdvancedFilterBoolEqualArgs

    Key string
    Value bool
    Key string
    Value bool
    key String
    value Boolean
    key string
    value boolean
    key str
    value bool
    key String
    value Boolean

    EventSubscriptionAdvancedFilterIsNotNull, EventSubscriptionAdvancedFilterIsNotNullArgs

    Key string
    Key string
    key String
    key string
    key str
    key String

    EventSubscriptionAdvancedFilterIsNullOrUndefined, EventSubscriptionAdvancedFilterIsNullOrUndefinedArgs

    Key string
    Key string
    key String
    key string
    key str
    key String

    EventSubscriptionAdvancedFilterNumberGreaterThan, EventSubscriptionAdvancedFilterNumberGreaterThanArgs

    Key string
    Value double
    Key string
    Value float64
    key String
    value Double
    key string
    value number
    key str
    value float
    key String
    value Number

    EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual, EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArgs

    Key string
    Value double
    Key string
    Value float64
    key String
    value Double
    key string
    value number
    key str
    value float
    key String
    value Number

    EventSubscriptionAdvancedFilterNumberIn, EventSubscriptionAdvancedFilterNumberInArgs

    Key string
    Values List<double>
    Key string
    Values []float64
    key String
    values List<Double>
    key string
    values number[]
    key str
    values Sequence[float]
    key String
    values List<Number>

    EventSubscriptionAdvancedFilterNumberInRange, EventSubscriptionAdvancedFilterNumberInRangeArgs

    Key string
    Values List<ImmutableArray<double>>
    Key string
    Values [][]float64
    key String
    values List<List<Double>>
    key string
    values number[][]
    key str
    values Sequence[Sequence[float]]
    key String
    values List<List<Number>>

    EventSubscriptionAdvancedFilterNumberLessThan, EventSubscriptionAdvancedFilterNumberLessThanArgs

    Key string
    Value double
    Key string
    Value float64
    key String
    value Double
    key string
    value number
    key str
    value float
    key String
    value Number

    EventSubscriptionAdvancedFilterNumberLessThanOrEqual, EventSubscriptionAdvancedFilterNumberLessThanOrEqualArgs

    Key string
    Value double
    Key string
    Value float64
    key String
    value Double
    key string
    value number
    key str
    value float
    key String
    value Number

    EventSubscriptionAdvancedFilterNumberNotIn, EventSubscriptionAdvancedFilterNumberNotInArgs

    Key string
    Values List<double>
    Key string
    Values []float64
    key String
    values List<Double>
    key string
    values number[]
    key str
    values Sequence[float]
    key String
    values List<Number>

    EventSubscriptionAdvancedFilterNumberNotInRange, EventSubscriptionAdvancedFilterNumberNotInRangeArgs

    Key string
    Values List<ImmutableArray<double>>
    Key string
    Values [][]float64
    key String
    values List<List<Double>>
    key string
    values number[][]
    key str
    values Sequence[Sequence[float]]
    key String
    values List<List<Number>>

    EventSubscriptionAdvancedFilterStringBeginsWith, EventSubscriptionAdvancedFilterStringBeginsWithArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringContain, EventSubscriptionAdvancedFilterStringContainArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringEndsWith, EventSubscriptionAdvancedFilterStringEndsWithArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringIn, EventSubscriptionAdvancedFilterStringInArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringNotBeginsWith, EventSubscriptionAdvancedFilterStringNotBeginsWithArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringNotContain, EventSubscriptionAdvancedFilterStringNotContainArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringNotEndsWith, EventSubscriptionAdvancedFilterStringNotEndsWithArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAdvancedFilterStringNotIn, EventSubscriptionAdvancedFilterStringNotInArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    EventSubscriptionAzureFunctionEndpoint, EventSubscriptionAzureFunctionEndpointArgs

    FunctionId string
    Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
    MaxEventsPerBatch int
    Maximum number of events per batch.
    PreferredBatchSizeInKilobytes int
    Preferred batch size in Kilobytes.
    FunctionId string
    Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
    MaxEventsPerBatch int
    Maximum number of events per batch.
    PreferredBatchSizeInKilobytes int
    Preferred batch size in Kilobytes.
    functionId String
    Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
    maxEventsPerBatch Integer
    Maximum number of events per batch.
    preferredBatchSizeInKilobytes Integer
    Preferred batch size in Kilobytes.
    functionId string
    Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
    maxEventsPerBatch number
    Maximum number of events per batch.
    preferredBatchSizeInKilobytes number
    Preferred batch size in Kilobytes.
    function_id str
    Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
    max_events_per_batch int
    Maximum number of events per batch.
    preferred_batch_size_in_kilobytes int
    Preferred batch size in Kilobytes.
    functionId String
    Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
    maxEventsPerBatch Number
    Maximum number of events per batch.
    preferredBatchSizeInKilobytes Number
    Preferred batch size in Kilobytes.

    EventSubscriptionDeadLetterIdentity, EventSubscriptionDeadLetterIdentityArgs

    Type string
    Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is SystemAssigned, UserAssigned.
    UserAssignedIdentity string
    The user identity associated with the resource.
    Type string
    Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is SystemAssigned, UserAssigned.
    UserAssignedIdentity string
    The user identity associated with the resource.
    type String
    Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is SystemAssigned, UserAssigned.
    userAssignedIdentity String
    The user identity associated with the resource.
    type string
    Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is SystemAssigned, UserAssigned.
    userAssignedIdentity string
    The user identity associated with the resource.
    type str
    Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is SystemAssigned, UserAssigned.
    user_assigned_identity str
    The user identity associated with the resource.
    type String
    Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is SystemAssigned, UserAssigned.
    userAssignedIdentity String
    The user identity associated with the resource.

    EventSubscriptionDeliveryIdentity, EventSubscriptionDeliveryIdentityArgs

    Type string
    Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is SystemAssigned, UserAssigned.
    UserAssignedIdentity string
    The user identity associated with the resource.
    Type string
    Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is SystemAssigned, UserAssigned.
    UserAssignedIdentity string
    The user identity associated with the resource.
    type String
    Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is SystemAssigned, UserAssigned.
    userAssignedIdentity String
    The user identity associated with the resource.
    type string
    Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is SystemAssigned, UserAssigned.
    userAssignedIdentity string
    The user identity associated with the resource.
    type str
    Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is SystemAssigned, UserAssigned.
    user_assigned_identity str
    The user identity associated with the resource.
    type String
    Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is SystemAssigned, UserAssigned.
    userAssignedIdentity String
    The user identity associated with the resource.

    EventSubscriptionDeliveryProperty, EventSubscriptionDeliveryPropertyArgs

    HeaderName string
    The name of the header to send on to the destination
    Type string
    Either Static or Dynamic
    Secret bool
    True if the value is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
    SourceField string
    If the type is Dynamic, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
    Value string
    If the type is Static, then provide the value to use
    HeaderName string
    The name of the header to send on to the destination
    Type string
    Either Static or Dynamic
    Secret bool
    True if the value is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
    SourceField string
    If the type is Dynamic, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
    Value string
    If the type is Static, then provide the value to use
    headerName String
    The name of the header to send on to the destination
    type String
    Either Static or Dynamic
    secret Boolean
    True if the value is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
    sourceField String
    If the type is Dynamic, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
    value String
    If the type is Static, then provide the value to use
    headerName string
    The name of the header to send on to the destination
    type string
    Either Static or Dynamic
    secret boolean
    True if the value is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
    sourceField string
    If the type is Dynamic, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
    value string
    If the type is Static, then provide the value to use
    header_name str
    The name of the header to send on to the destination
    type str
    Either Static or Dynamic
    secret bool
    True if the value is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
    source_field str
    If the type is Dynamic, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
    value str
    If the type is Static, then provide the value to use
    headerName String
    The name of the header to send on to the destination
    type String
    Either Static or Dynamic
    secret Boolean
    True if the value is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
    sourceField String
    If the type is Dynamic, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
    value String
    If the type is Static, then provide the value to use

    EventSubscriptionRetryPolicy, EventSubscriptionRetryPolicyArgs

    EventTimeToLive int
    Specifies the time to live (in minutes) for events. Supported range is 1 to 1440. See official documentation for more details.
    MaxDeliveryAttempts int
    Specifies the maximum number of delivery retry attempts for events.
    EventTimeToLive int
    Specifies the time to live (in minutes) for events. Supported range is 1 to 1440. See official documentation for more details.
    MaxDeliveryAttempts int
    Specifies the maximum number of delivery retry attempts for events.
    eventTimeToLive Integer
    Specifies the time to live (in minutes) for events. Supported range is 1 to 1440. See official documentation for more details.
    maxDeliveryAttempts Integer
    Specifies the maximum number of delivery retry attempts for events.
    eventTimeToLive number
    Specifies the time to live (in minutes) for events. Supported range is 1 to 1440. See official documentation for more details.
    maxDeliveryAttempts number
    Specifies the maximum number of delivery retry attempts for events.
    event_time_to_live int
    Specifies the time to live (in minutes) for events. Supported range is 1 to 1440. See official documentation for more details.
    max_delivery_attempts int
    Specifies the maximum number of delivery retry attempts for events.
    eventTimeToLive Number
    Specifies the time to live (in minutes) for events. Supported range is 1 to 1440. See official documentation for more details.
    maxDeliveryAttempts Number
    Specifies the maximum number of delivery retry attempts for events.

    EventSubscriptionStorageBlobDeadLetterDestination, EventSubscriptionStorageBlobDeadLetterDestinationArgs

    StorageAccountId string
    Specifies the id of the storage account id where the storage blob is located.
    StorageBlobContainerName string
    Specifies the name of the Storage blob container that is the destination of the deadletter events.
    StorageAccountId string
    Specifies the id of the storage account id where the storage blob is located.
    StorageBlobContainerName string
    Specifies the name of the Storage blob container that is the destination of the deadletter events.
    storageAccountId String
    Specifies the id of the storage account id where the storage blob is located.
    storageBlobContainerName String
    Specifies the name of the Storage blob container that is the destination of the deadletter events.
    storageAccountId string
    Specifies the id of the storage account id where the storage blob is located.
    storageBlobContainerName string
    Specifies the name of the Storage blob container that is the destination of the deadletter events.
    storage_account_id str
    Specifies the id of the storage account id where the storage blob is located.
    storage_blob_container_name str
    Specifies the name of the Storage blob container that is the destination of the deadletter events.
    storageAccountId String
    Specifies the id of the storage account id where the storage blob is located.
    storageBlobContainerName String
    Specifies the name of the Storage blob container that is the destination of the deadletter events.

    EventSubscriptionStorageQueueEndpoint, EventSubscriptionStorageQueueEndpointArgs

    QueueName string
    Specifies the name of the storage queue where the Event Subscription will receive events.
    StorageAccountId string
    Specifies the id of the storage account id where the storage queue is located.
    QueueMessageTimeToLiveInSeconds int
    Storage queue message time to live in seconds.
    QueueName string
    Specifies the name of the storage queue where the Event Subscription will receive events.
    StorageAccountId string
    Specifies the id of the storage account id where the storage queue is located.
    QueueMessageTimeToLiveInSeconds int
    Storage queue message time to live in seconds.
    queueName String
    Specifies the name of the storage queue where the Event Subscription will receive events.
    storageAccountId String
    Specifies the id of the storage account id where the storage queue is located.
    queueMessageTimeToLiveInSeconds Integer
    Storage queue message time to live in seconds.
    queueName string
    Specifies the name of the storage queue where the Event Subscription will receive events.
    storageAccountId string
    Specifies the id of the storage account id where the storage queue is located.
    queueMessageTimeToLiveInSeconds number
    Storage queue message time to live in seconds.
    queue_name str
    Specifies the name of the storage queue where the Event Subscription will receive events.
    storage_account_id str
    Specifies the id of the storage account id where the storage queue is located.
    queue_message_time_to_live_in_seconds int
    Storage queue message time to live in seconds.
    queueName String
    Specifies the name of the storage queue where the Event Subscription will receive events.
    storageAccountId String
    Specifies the id of the storage account id where the storage queue is located.
    queueMessageTimeToLiveInSeconds Number
    Storage queue message time to live in seconds.

    EventSubscriptionSubjectFilter, EventSubscriptionSubjectFilterArgs

    CaseSensitive bool
    Specifies if subject_begins_with and subject_ends_with case sensitive. This value
    SubjectBeginsWith string
    A string to filter events for an event subscription based on a resource path prefix.
    SubjectEndsWith string
    A string to filter events for an event subscription based on a resource path suffix.
    CaseSensitive bool
    Specifies if subject_begins_with and subject_ends_with case sensitive. This value
    SubjectBeginsWith string
    A string to filter events for an event subscription based on a resource path prefix.
    SubjectEndsWith string
    A string to filter events for an event subscription based on a resource path suffix.
    caseSensitive Boolean
    Specifies if subject_begins_with and subject_ends_with case sensitive. This value
    subjectBeginsWith String
    A string to filter events for an event subscription based on a resource path prefix.
    subjectEndsWith String
    A string to filter events for an event subscription based on a resource path suffix.
    caseSensitive boolean
    Specifies if subject_begins_with and subject_ends_with case sensitive. This value
    subjectBeginsWith string
    A string to filter events for an event subscription based on a resource path prefix.
    subjectEndsWith string
    A string to filter events for an event subscription based on a resource path suffix.
    case_sensitive bool
    Specifies if subject_begins_with and subject_ends_with case sensitive. This value
    subject_begins_with str
    A string to filter events for an event subscription based on a resource path prefix.
    subject_ends_with str
    A string to filter events for an event subscription based on a resource path suffix.
    caseSensitive Boolean
    Specifies if subject_begins_with and subject_ends_with case sensitive. This value
    subjectBeginsWith String
    A string to filter events for an event subscription based on a resource path prefix.
    subjectEndsWith String
    A string to filter events for an event subscription based on a resource path suffix.

    EventSubscriptionWebhookEndpoint, EventSubscriptionWebhookEndpointArgs

    Url string
    Specifies the url of the webhook where the Event Subscription will receive events.
    ActiveDirectoryAppIdOrUri string
    The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
    ActiveDirectoryTenantId string
    The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
    BaseUrl string
    The base url of the webhook where the Event Subscription will receive events.
    MaxEventsPerBatch int
    Maximum number of events per batch.
    PreferredBatchSizeInKilobytes int
    Preferred batch size in Kilobytes.
    Url string
    Specifies the url of the webhook where the Event Subscription will receive events.
    ActiveDirectoryAppIdOrUri string
    The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
    ActiveDirectoryTenantId string
    The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
    BaseUrl string
    The base url of the webhook where the Event Subscription will receive events.
    MaxEventsPerBatch int
    Maximum number of events per batch.
    PreferredBatchSizeInKilobytes int
    Preferred batch size in Kilobytes.
    url String
    Specifies the url of the webhook where the Event Subscription will receive events.
    activeDirectoryAppIdOrUri String
    The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
    activeDirectoryTenantId String
    The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
    baseUrl String
    The base url of the webhook where the Event Subscription will receive events.
    maxEventsPerBatch Integer
    Maximum number of events per batch.
    preferredBatchSizeInKilobytes Integer
    Preferred batch size in Kilobytes.
    url string
    Specifies the url of the webhook where the Event Subscription will receive events.
    activeDirectoryAppIdOrUri string
    The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
    activeDirectoryTenantId string
    The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
    baseUrl string
    The base url of the webhook where the Event Subscription will receive events.
    maxEventsPerBatch number
    Maximum number of events per batch.
    preferredBatchSizeInKilobytes number
    Preferred batch size in Kilobytes.
    url str
    Specifies the url of the webhook where the Event Subscription will receive events.
    active_directory_app_id_or_uri str
    The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
    active_directory_tenant_id str
    The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
    base_url str
    The base url of the webhook where the Event Subscription will receive events.
    max_events_per_batch int
    Maximum number of events per batch.
    preferred_batch_size_in_kilobytes int
    Preferred batch size in Kilobytes.
    url String
    Specifies the url of the webhook where the Event Subscription will receive events.
    activeDirectoryAppIdOrUri String
    The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
    activeDirectoryTenantId String
    The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
    baseUrl String
    The base url of the webhook where the Event Subscription will receive events.
    maxEventsPerBatch Number
    Maximum number of events per batch.
    preferredBatchSizeInKilobytes Number
    Preferred batch size in Kilobytes.

    Import

    EventGrid Event Subscription’s can be imported using the resource id, e.g.

    $ pulumi import azure:eventgrid/eventSubscription:EventSubscription eventSubscription1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscription1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi