We recommend using Azure Native.
azure.eventgrid.EventSubscription
Explore with Pulumi AI
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.
- Advanced
Filter EventSubscription Advanced Filter - A
advanced_filter
block as defined below. - Advanced
Filtering boolOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - Azure
Function EventEndpoint Subscription Azure Function Endpoint - An
azure_function_endpoint
block as defined below. - Dead
Letter EventIdentity Subscription Dead Letter Identity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- Delivery
Identity EventSubscription Delivery Identity - A
delivery_identity
block as defined below. - Delivery
Properties List<EventSubscription Delivery Property> - One or more
delivery_property
blocks as defined below. - Event
Delivery stringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - Eventhub
Endpoint stringId - Specifies the id where the Event Hub is located.
- Expiration
Time stringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - Hybrid
Connection stringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- Included
Event List<string>Types - 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.
- Retry
Policy EventSubscription Retry Policy - A
retry_policy
block as defined below. - Service
Bus stringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- Service
Bus stringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- Storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - Storage
Queue EventEndpoint Subscription Storage Queue Endpoint - A
storage_queue_endpoint
block as defined below. - Subject
Filter EventSubscription Subject Filter - A
subject_filter
block as defined below. - Webhook
Endpoint EventSubscription Webhook Endpoint 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
orazure_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.
- Advanced
Filter EventSubscription Advanced Filter Args - A
advanced_filter
block as defined below. - Advanced
Filtering boolOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - Azure
Function EventEndpoint Subscription Azure Function Endpoint Args - An
azure_function_endpoint
block as defined below. - Dead
Letter EventIdentity Subscription Dead Letter Identity Args A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- Delivery
Identity EventSubscription Delivery Identity Args - A
delivery_identity
block as defined below. - Delivery
Properties []EventSubscription Delivery Property Args - One or more
delivery_property
blocks as defined below. - Event
Delivery stringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - Eventhub
Endpoint stringId - Specifies the id where the Event Hub is located.
- Expiration
Time stringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - Hybrid
Connection stringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- Included
Event []stringTypes - 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.
- Retry
Policy EventSubscription Retry Policy Args - A
retry_policy
block as defined below. - Service
Bus stringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- Service
Bus stringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- Storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination Args - A
storage_blob_dead_letter_destination
block as defined below. - Storage
Queue EventEndpoint Subscription Storage Queue Endpoint Args - A
storage_queue_endpoint
block as defined below. - Subject
Filter EventSubscription Subject Filter Args - A
subject_filter
block as defined below. - Webhook
Endpoint EventSubscription Webhook Endpoint Args 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
orazure_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.
- advanced
Filter EventSubscription Advanced Filter - A
advanced_filter
block as defined below. - advanced
Filtering BooleanOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure
Function EventEndpoint Subscription Azure Function Endpoint - An
azure_function_endpoint
block as defined below. - dead
Letter EventIdentity Subscription Dead Letter Identity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery
Identity EventSubscription Delivery Identity - A
delivery_identity
block as defined below. - delivery
Properties List<EventSubscription Delivery Property> - One or more
delivery_property
blocks as defined below. - event
Delivery StringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub
Endpoint StringId - Specifies the id where the Event Hub is located.
- expiration
Time StringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid
Connection StringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- included
Event List<String>Types - 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.
- retry
Policy EventSubscription Retry Policy - A
retry_policy
block as defined below. - service
Bus StringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- service
Bus StringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - storage
Queue EventEndpoint Subscription Storage Queue Endpoint - A
storage_queue_endpoint
block as defined below. - subject
Filter EventSubscription Subject Filter - A
subject_filter
block as defined below. - webhook
Endpoint EventSubscription Webhook Endpoint 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
orazure_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.
- advanced
Filter EventSubscription Advanced Filter - A
advanced_filter
block as defined below. - advanced
Filtering booleanOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure
Function EventEndpoint Subscription Azure Function Endpoint - An
azure_function_endpoint
block as defined below. - dead
Letter EventIdentity Subscription Dead Letter Identity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery
Identity EventSubscription Delivery Identity - A
delivery_identity
block as defined below. - delivery
Properties EventSubscription Delivery Property[] - One or more
delivery_property
blocks as defined below. - event
Delivery stringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub
Endpoint stringId - Specifies the id where the Event Hub is located.
- expiration
Time stringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid
Connection stringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- included
Event string[]Types - 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.
- retry
Policy EventSubscription Retry Policy - A
retry_policy
block as defined below. - service
Bus stringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- service
Bus stringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - storage
Queue EventEndpoint Subscription Storage Queue Endpoint - A
storage_queue_endpoint
block as defined below. - subject
Filter EventSubscription Subject Filter - A
subject_filter
block as defined below. - webhook
Endpoint EventSubscription Webhook Endpoint 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
orazure_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 EventSubscription Advanced Filter Args - A
advanced_filter
block as defined below. - advanced_
filtering_ boolon_ arrays_ enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure_
function_ Eventendpoint Subscription Azure Function Endpoint Args - An
azure_function_endpoint
block as defined below. - dead_
letter_ Eventidentity Subscription Dead Letter Identity Args A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery_
identity EventSubscription Delivery Identity Args - A
delivery_identity
block as defined below. - delivery_
properties Sequence[EventSubscription Delivery Property Args] - One or more
delivery_property
blocks as defined below. - event_
delivery_ strschema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub_
endpoint_ strid - Specifies the id where the Event Hub is located.
- expiration_
time_ strutc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid_
connection_ strendpoint_ id - Specifies the id where the Hybrid Connection is located.
- included_
event_ Sequence[str]types - 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 EventSubscription Retry Policy Args - A
retry_policy
block as defined below. - service_
bus_ strqueue_ endpoint_ id - Specifies the id where the Service Bus Queue is located.
- service_
bus_ strtopic_ endpoint_ id - Specifies the id where the Service Bus Topic is located.
- storage_
blob_ Eventdead_ letter_ destination Subscription Storage Blob Dead Letter Destination Args - A
storage_blob_dead_letter_destination
block as defined below. - storage_
queue_ Eventendpoint Subscription Storage Queue Endpoint Args - A
storage_queue_endpoint
block as defined below. - subject_
filter EventSubscription Subject Filter Args - A
subject_filter
block as defined below. - webhook_
endpoint EventSubscription Webhook Endpoint Args 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
orazure_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.
- advanced
Filter Property Map - A
advanced_filter
block as defined below. - advanced
Filtering BooleanOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure
Function Property MapEndpoint - An
azure_function_endpoint
block as defined below. - dead
Letter Property MapIdentity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery
Identity Property Map - A
delivery_identity
block as defined below. - delivery
Properties List<Property Map> - One or more
delivery_property
blocks as defined below. - event
Delivery StringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub
Endpoint StringId - Specifies the id where the Event Hub is located.
- expiration
Time StringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid
Connection StringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- included
Event List<String>Types - 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.
- retry
Policy Property Map - A
retry_policy
block as defined below. - service
Bus StringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- service
Bus StringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- storage
Blob Property MapDead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - storage
Queue Property MapEndpoint - A
storage_queue_endpoint
block as defined below. - subject
Filter Property Map - A
subject_filter
block as defined below. - webhook
Endpoint 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
orazure_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.
- Advanced
Filter EventSubscription Advanced Filter - A
advanced_filter
block as defined below. - Advanced
Filtering boolOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - Azure
Function EventEndpoint Subscription Azure Function Endpoint - An
azure_function_endpoint
block as defined below. - Dead
Letter EventIdentity Subscription Dead Letter Identity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- Delivery
Identity EventSubscription Delivery Identity - A
delivery_identity
block as defined below. - Delivery
Properties List<EventSubscription Delivery Property> - One or more
delivery_property
blocks as defined below. - Event
Delivery stringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - Eventhub
Endpoint stringId - Specifies the id where the Event Hub is located.
- Expiration
Time stringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - Hybrid
Connection stringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- Included
Event List<string>Types - 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.
- Retry
Policy EventSubscription Retry Policy - 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.
- Service
Bus stringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- Service
Bus stringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- Storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - Storage
Queue EventEndpoint Subscription Storage Queue Endpoint - A
storage_queue_endpoint
block as defined below. - Subject
Filter EventSubscription Subject Filter - A
subject_filter
block as defined below. - Webhook
Endpoint EventSubscription Webhook Endpoint 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
orazure_function_endpoint
must be specified.
- Advanced
Filter EventSubscription Advanced Filter Args - A
advanced_filter
block as defined below. - Advanced
Filtering boolOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - Azure
Function EventEndpoint Subscription Azure Function Endpoint Args - An
azure_function_endpoint
block as defined below. - Dead
Letter EventIdentity Subscription Dead Letter Identity Args A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- Delivery
Identity EventSubscription Delivery Identity Args - A
delivery_identity
block as defined below. - Delivery
Properties []EventSubscription Delivery Property Args - One or more
delivery_property
blocks as defined below. - Event
Delivery stringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - Eventhub
Endpoint stringId - Specifies the id where the Event Hub is located.
- Expiration
Time stringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - Hybrid
Connection stringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- Included
Event []stringTypes - 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.
- Retry
Policy EventSubscription Retry Policy Args - 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.
- Service
Bus stringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- Service
Bus stringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- Storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination Args - A
storage_blob_dead_letter_destination
block as defined below. - Storage
Queue EventEndpoint Subscription Storage Queue Endpoint Args - A
storage_queue_endpoint
block as defined below. - Subject
Filter EventSubscription Subject Filter Args - A
subject_filter
block as defined below. - Webhook
Endpoint EventSubscription Webhook Endpoint Args 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
orazure_function_endpoint
must be specified.
- advanced
Filter EventSubscription Advanced Filter - A
advanced_filter
block as defined below. - advanced
Filtering BooleanOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure
Function EventEndpoint Subscription Azure Function Endpoint - An
azure_function_endpoint
block as defined below. - dead
Letter EventIdentity Subscription Dead Letter Identity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery
Identity EventSubscription Delivery Identity - A
delivery_identity
block as defined below. - delivery
Properties List<EventSubscription Delivery Property> - One or more
delivery_property
blocks as defined below. - event
Delivery StringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub
Endpoint StringId - Specifies the id where the Event Hub is located.
- expiration
Time StringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid
Connection StringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- included
Event List<String>Types - 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.
- retry
Policy EventSubscription Retry Policy - 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.
- service
Bus StringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- service
Bus StringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - storage
Queue EventEndpoint Subscription Storage Queue Endpoint - A
storage_queue_endpoint
block as defined below. - subject
Filter EventSubscription Subject Filter - A
subject_filter
block as defined below. - webhook
Endpoint EventSubscription Webhook Endpoint 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
orazure_function_endpoint
must be specified.
- advanced
Filter EventSubscription Advanced Filter - A
advanced_filter
block as defined below. - advanced
Filtering booleanOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure
Function EventEndpoint Subscription Azure Function Endpoint - An
azure_function_endpoint
block as defined below. - dead
Letter EventIdentity Subscription Dead Letter Identity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery
Identity EventSubscription Delivery Identity - A
delivery_identity
block as defined below. - delivery
Properties EventSubscription Delivery Property[] - One or more
delivery_property
blocks as defined below. - event
Delivery stringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub
Endpoint stringId - Specifies the id where the Event Hub is located.
- expiration
Time stringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid
Connection stringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- included
Event string[]Types - 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.
- retry
Policy EventSubscription Retry Policy - 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.
- service
Bus stringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- service
Bus stringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- storage
Blob EventDead Letter Destination Subscription Storage Blob Dead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - storage
Queue EventEndpoint Subscription Storage Queue Endpoint - A
storage_queue_endpoint
block as defined below. - subject
Filter EventSubscription Subject Filter - A
subject_filter
block as defined below. - webhook
Endpoint EventSubscription Webhook Endpoint 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
orazure_function_endpoint
must be specified.
- advanced_
filter EventSubscription Advanced Filter Args - A
advanced_filter
block as defined below. - advanced_
filtering_ boolon_ arrays_ enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure_
function_ Eventendpoint Subscription Azure Function Endpoint Args - An
azure_function_endpoint
block as defined below. - dead_
letter_ Eventidentity Subscription Dead Letter Identity Args A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery_
identity EventSubscription Delivery Identity Args - A
delivery_identity
block as defined below. - delivery_
properties Sequence[EventSubscription Delivery Property Args] - One or more
delivery_property
blocks as defined below. - event_
delivery_ strschema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub_
endpoint_ strid - Specifies the id where the Event Hub is located.
- expiration_
time_ strutc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid_
connection_ strendpoint_ id - Specifies the id where the Hybrid Connection is located.
- included_
event_ Sequence[str]types - 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 EventSubscription Retry Policy Args - 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_ strqueue_ endpoint_ id - Specifies the id where the Service Bus Queue is located.
- service_
bus_ strtopic_ endpoint_ id - Specifies the id where the Service Bus Topic is located.
- storage_
blob_ Eventdead_ letter_ destination Subscription Storage Blob Dead Letter Destination Args - A
storage_blob_dead_letter_destination
block as defined below. - storage_
queue_ Eventendpoint Subscription Storage Queue Endpoint Args - A
storage_queue_endpoint
block as defined below. - subject_
filter EventSubscription Subject Filter Args - A
subject_filter
block as defined below. - webhook_
endpoint EventSubscription Webhook Endpoint Args 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
orazure_function_endpoint
must be specified.
- advanced
Filter Property Map - A
advanced_filter
block as defined below. - advanced
Filtering BooleanOn Arrays Enabled - Specifies whether advanced filters should be evaluated against an array of values instead of expecting a singular value. Defaults to
false
. - azure
Function Property MapEndpoint - An
azure_function_endpoint
block as defined below. - dead
Letter Property MapIdentity A
dead_letter_identity
block as defined below.Note:
storage_blob_dead_letter_destination
must be specified when adead_letter_identity
is specified- delivery
Identity Property Map - A
delivery_identity
block as defined below. - delivery
Properties List<Property Map> - One or more
delivery_property
blocks as defined below. - event
Delivery StringSchema - Specifies the event delivery schema for the event subscription. Possible values include:
EventGridSchema
,CloudEventSchemaV1_0
,CustomInputSchema
. Defaults toEventGridSchema
. Changing this forces a new resource to be created. - eventhub
Endpoint StringId - Specifies the id where the Event Hub is located.
- expiration
Time StringUtc - Specifies the expiration time of the event subscription (Datetime Format
RFC 3339
). - hybrid
Connection StringEndpoint Id - Specifies the id where the Hybrid Connection is located.
- included
Event List<String>Types - 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.
- retry
Policy 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.
- service
Bus StringQueue Endpoint Id - Specifies the id where the Service Bus Queue is located.
- service
Bus StringTopic Endpoint Id - Specifies the id where the Service Bus Topic is located.
- storage
Blob Property MapDead Letter Destination - A
storage_blob_dead_letter_destination
block as defined below. - storage
Queue Property MapEndpoint - A
storage_queue_endpoint
block as defined below. - subject
Filter Property Map - A
subject_filter
block as defined below. - webhook
Endpoint 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
orazure_function_endpoint
must be specified.
Supporting Types
EventSubscriptionAdvancedFilter, EventSubscriptionAdvancedFilterArgs
- Bool
Equals List<EventSubscription Advanced Filter Bool Equal> - Compares a value of an event using a single boolean value.
- Is
Not List<EventNulls Subscription Advanced Filter Is Not Null> - Evaluates if a value of an event isn't NULL or undefined.
- Is
Null List<EventOr Undefineds Subscription Advanced Filter Is Null Or Undefined> 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 List<EventThan Or Equals Subscription Advanced Filter Number Greater Than Or Equal> - Compares a value of an event using a single floating point number.
- Number
Greater List<EventThans Subscription Advanced Filter Number Greater Than> - Compares a value of an event using a single floating point number.
- Number
In List<EventRanges Subscription Advanced Filter Number In Range> - Compares a value of an event using multiple floating point number ranges.
- Number
Ins List<EventSubscription Advanced Filter Number In> - Compares a value of an event using multiple floating point numbers.
- Number
Less List<EventThan Or Equals Subscription Advanced Filter Number Less Than Or Equal> - Compares a value of an event using a single floating point number.
- Number
Less List<EventThans Subscription Advanced Filter Number Less Than> - Compares a value of an event using a single floating point number.
- Number
Not List<EventIn Ranges Subscription Advanced Filter Number Not In Range> - Compares a value of an event using multiple floating point number ranges.
- Number
Not List<EventIns Subscription Advanced Filter Number Not In> - Compares a value of an event using multiple floating point numbers.
- String
Begins List<EventWiths Subscription Advanced Filter String Begins With> - Compares a value of an event using multiple string values.
- String
Contains List<EventSubscription Advanced Filter String Contain> - Compares a value of an event using multiple string values.
- String
Ends List<EventWiths Subscription Advanced Filter String Ends With> - Compares a value of an event using multiple string values.
- String
Ins List<EventSubscription Advanced Filter String In> - Compares a value of an event using multiple string values.
- String
Not List<EventBegins Withs Subscription Advanced Filter String Not Begins With> - Compares a value of an event using multiple string values.
- String
Not List<EventContains Subscription Advanced Filter String Not Contain> - Compares a value of an event using multiple string values.
- String
Not List<EventEnds Withs Subscription Advanced Filter String Not Ends With> - Compares a value of an event using multiple string values.
- String
Not List<EventIns Subscription Advanced Filter String Not In> - Compares a value of an event using multiple string values.
- Bool
Equals []EventSubscription Advanced Filter Bool Equal - Compares a value of an event using a single boolean value.
- Is
Not []EventNulls Subscription Advanced Filter Is Not Null - Evaluates if a value of an event isn't NULL or undefined.
- Is
Null []EventOr Undefineds Subscription Advanced Filter Is Null Or Undefined 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 []EventThan Or Equals Subscription Advanced Filter Number Greater Than Or Equal - Compares a value of an event using a single floating point number.
- Number
Greater []EventThans Subscription Advanced Filter Number Greater Than - Compares a value of an event using a single floating point number.
- Number
In []EventRanges Subscription Advanced Filter Number In Range - Compares a value of an event using multiple floating point number ranges.
- Number
Ins []EventSubscription Advanced Filter Number In - Compares a value of an event using multiple floating point numbers.
- Number
Less []EventThan Or Equals Subscription Advanced Filter Number Less Than Or Equal - Compares a value of an event using a single floating point number.
- Number
Less []EventThans Subscription Advanced Filter Number Less Than - Compares a value of an event using a single floating point number.
- Number
Not []EventIn Ranges Subscription Advanced Filter Number Not In Range - Compares a value of an event using multiple floating point number ranges.
- Number
Not []EventIns Subscription Advanced Filter Number Not In - Compares a value of an event using multiple floating point numbers.
- String
Begins []EventWiths Subscription Advanced Filter String Begins With - Compares a value of an event using multiple string values.
- String
Contains []EventSubscription Advanced Filter String Contain - Compares a value of an event using multiple string values.
- String
Ends []EventWiths Subscription Advanced Filter String Ends With - Compares a value of an event using multiple string values.
- String
Ins []EventSubscription Advanced Filter String In - Compares a value of an event using multiple string values.
- String
Not []EventBegins Withs Subscription Advanced Filter String Not Begins With - Compares a value of an event using multiple string values.
- String
Not []EventContains Subscription Advanced Filter String Not Contain - Compares a value of an event using multiple string values.
- String
Not []EventEnds Withs Subscription Advanced Filter String Not Ends With - Compares a value of an event using multiple string values.
- String
Not []EventIns Subscription Advanced Filter String Not In - Compares a value of an event using multiple string values.
- bool
Equals List<EventSubscription Advanced Filter Bool Equal> - Compares a value of an event using a single boolean value.
- is
Not List<EventNulls Subscription Advanced Filter Is Not Null> - Evaluates if a value of an event isn't NULL or undefined.
- is
Null List<EventOr Undefineds Subscription Advanced Filter Is Null Or Undefined> 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 List<EventThan Or Equals Subscription Advanced Filter Number Greater Than Or Equal> - Compares a value of an event using a single floating point number.
- number
Greater List<EventThans Subscription Advanced Filter Number Greater Than> - Compares a value of an event using a single floating point number.
- number
In List<EventRanges Subscription Advanced Filter Number In Range> - Compares a value of an event using multiple floating point number ranges.
- number
Ins List<EventSubscription Advanced Filter Number In> - Compares a value of an event using multiple floating point numbers.
- number
Less List<EventThan Or Equals Subscription Advanced Filter Number Less Than Or Equal> - Compares a value of an event using a single floating point number.
- number
Less List<EventThans Subscription Advanced Filter Number Less Than> - Compares a value of an event using a single floating point number.
- number
Not List<EventIn Ranges Subscription Advanced Filter Number Not In Range> - Compares a value of an event using multiple floating point number ranges.
- number
Not List<EventIns Subscription Advanced Filter Number Not In> - Compares a value of an event using multiple floating point numbers.
- string
Begins List<EventWiths Subscription Advanced Filter String Begins With> - Compares a value of an event using multiple string values.
- string
Contains List<EventSubscription Advanced Filter String Contain> - Compares a value of an event using multiple string values.
- string
Ends List<EventWiths Subscription Advanced Filter String Ends With> - Compares a value of an event using multiple string values.
- string
Ins List<EventSubscription Advanced Filter String In> - Compares a value of an event using multiple string values.
- string
Not List<EventBegins Withs Subscription Advanced Filter String Not Begins With> - Compares a value of an event using multiple string values.
- string
Not List<EventContains Subscription Advanced Filter String Not Contain> - Compares a value of an event using multiple string values.
- string
Not List<EventEnds Withs Subscription Advanced Filter String Not Ends With> - Compares a value of an event using multiple string values.
- string
Not List<EventIns Subscription Advanced Filter String Not In> - Compares a value of an event using multiple string values.
- bool
Equals EventSubscription Advanced Filter Bool Equal[] - Compares a value of an event using a single boolean value.
- is
Not EventNulls Subscription Advanced Filter Is Not Null[] - Evaluates if a value of an event isn't NULL or undefined.
- is
Null EventOr Undefineds Subscription Advanced Filter Is Null Or Undefined[] 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 EventThan Or Equals Subscription Advanced Filter Number Greater Than Or Equal[] - Compares a value of an event using a single floating point number.
- number
Greater EventThans Subscription Advanced Filter Number Greater Than[] - Compares a value of an event using a single floating point number.
- number
In EventRanges Subscription Advanced Filter Number In Range[] - Compares a value of an event using multiple floating point number ranges.
- number
Ins EventSubscription Advanced Filter Number In[] - Compares a value of an event using multiple floating point numbers.
- number
Less EventThan Or Equals Subscription Advanced Filter Number Less Than Or Equal[] - Compares a value of an event using a single floating point number.
- number
Less EventThans Subscription Advanced Filter Number Less Than[] - Compares a value of an event using a single floating point number.
- number
Not EventIn Ranges Subscription Advanced Filter Number Not In Range[] - Compares a value of an event using multiple floating point number ranges.
- number
Not EventIns Subscription Advanced Filter Number Not In[] - Compares a value of an event using multiple floating point numbers.
- string
Begins EventWiths Subscription Advanced Filter String Begins With[] - Compares a value of an event using multiple string values.
- string
Contains EventSubscription Advanced Filter String Contain[] - Compares a value of an event using multiple string values.
- string
Ends EventWiths Subscription Advanced Filter String Ends With[] - Compares a value of an event using multiple string values.
- string
Ins EventSubscription Advanced Filter String In[] - Compares a value of an event using multiple string values.
- string
Not EventBegins Withs Subscription Advanced Filter String Not Begins With[] - Compares a value of an event using multiple string values.
- string
Not EventContains Subscription Advanced Filter String Not Contain[] - Compares a value of an event using multiple string values.
- string
Not EventEnds Withs Subscription Advanced Filter String Not Ends With[] - Compares a value of an event using multiple string values.
- string
Not EventIns Subscription Advanced Filter String Not In[] - Compares a value of an event using multiple string values.
- bool_
equals Sequence[EventSubscription Advanced Filter Bool Equal] - Compares a value of an event using a single boolean value.
- is_
not_ Sequence[Eventnulls Subscription Advanced Filter Is Not Null] - Evaluates if a value of an event isn't NULL or undefined.
- is_
null_ Sequence[Eventor_ undefineds Subscription Advanced Filter Is Null Or Undefined] 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_ Sequence[Eventthan_ or_ equals Subscription Advanced Filter Number Greater Than Or Equal] - Compares a value of an event using a single floating point number.
- number_
greater_ Sequence[Eventthans Subscription Advanced Filter Number Greater Than] - Compares a value of an event using a single floating point number.
- number_
in_ Sequence[Eventranges Subscription Advanced Filter Number In Range] - Compares a value of an event using multiple floating point number ranges.
- number_
ins Sequence[EventSubscription Advanced Filter Number In] - Compares a value of an event using multiple floating point numbers.
- number_
less_ Sequence[Eventthan_ or_ equals Subscription Advanced Filter Number Less Than Or Equal] - Compares a value of an event using a single floating point number.
- number_
less_ Sequence[Eventthans Subscription Advanced Filter Number Less Than] - Compares a value of an event using a single floating point number.
- number_
not_ Sequence[Eventin_ ranges Subscription Advanced Filter Number Not In Range] - Compares a value of an event using multiple floating point number ranges.
- number_
not_ Sequence[Eventins Subscription Advanced Filter Number Not In] - Compares a value of an event using multiple floating point numbers.
- string_
begins_ Sequence[Eventwiths Subscription Advanced Filter String Begins With] - Compares a value of an event using multiple string values.
- string_
contains Sequence[EventSubscription Advanced Filter String Contain] - Compares a value of an event using multiple string values.
- string_
ends_ Sequence[Eventwiths Subscription Advanced Filter String Ends With] - Compares a value of an event using multiple string values.
- string_
ins Sequence[EventSubscription Advanced Filter String In] - Compares a value of an event using multiple string values.
- string_
not_ Sequence[Eventbegins_ withs Subscription Advanced Filter String Not Begins With] - Compares a value of an event using multiple string values.
- string_
not_ Sequence[Eventcontains Subscription Advanced Filter String Not Contain] - Compares a value of an event using multiple string values.
- string_
not_ Sequence[Eventends_ withs Subscription Advanced Filter String Not Ends With] - Compares a value of an event using multiple string values.
- string_
not_ Sequence[Eventins Subscription Advanced Filter String Not In] - Compares a value of an event using multiple string values.
- bool
Equals List<Property Map> - Compares a value of an event using a single boolean value.
- is
Not List<Property Map>Nulls - Evaluates if a value of an event isn't NULL or undefined.
- is
Null List<Property Map>Or Undefineds 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 List<Property Map>Than Or Equals - Compares a value of an event using a single floating point number.
- number
Greater List<Property Map>Thans - Compares a value of an event using a single floating point number.
- number
In List<Property Map>Ranges - Compares a value of an event using multiple floating point number ranges.
- number
Ins List<Property Map> - Compares a value of an event using multiple floating point numbers.
- number
Less List<Property Map>Than Or Equals - Compares a value of an event using a single floating point number.
- number
Less List<Property Map>Thans - Compares a value of an event using a single floating point number.
- number
Not List<Property Map>In Ranges - Compares a value of an event using multiple floating point number ranges.
- number
Not List<Property Map>Ins - Compares a value of an event using multiple floating point numbers.
- string
Begins List<Property Map>Withs - Compares a value of an event using multiple string values.
- string
Contains List<Property Map> - Compares a value of an event using multiple string values.
- string
Ends List<Property Map>Withs - Compares a value of an event using multiple string values.
- string
Ins List<Property Map> - Compares a value of an event using multiple string values.
- string
Not List<Property Map>Begins Withs - Compares a value of an event using multiple string values.
- string
Not List<Property Map>Contains - Compares a value of an event using multiple string values.
- string
Not List<Property Map>Ends Withs - Compares a value of an event using multiple string values.
- string
Not List<Property Map>Ins - Compares a value of an event using multiple string values.
EventSubscriptionAdvancedFilterBoolEqual, EventSubscriptionAdvancedFilterBoolEqualArgs
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
EventSubscriptionAdvancedFilterNumberGreaterThanOrEqual, EventSubscriptionAdvancedFilterNumberGreaterThanOrEqualArgs
EventSubscriptionAdvancedFilterNumberIn, EventSubscriptionAdvancedFilterNumberInArgs
EventSubscriptionAdvancedFilterNumberInRange, EventSubscriptionAdvancedFilterNumberInRangeArgs
EventSubscriptionAdvancedFilterNumberLessThan, EventSubscriptionAdvancedFilterNumberLessThanArgs
EventSubscriptionAdvancedFilterNumberLessThanOrEqual, EventSubscriptionAdvancedFilterNumberLessThanOrEqualArgs
EventSubscriptionAdvancedFilterNumberNotIn, EventSubscriptionAdvancedFilterNumberNotInArgs
EventSubscriptionAdvancedFilterNumberNotInRange, EventSubscriptionAdvancedFilterNumberNotInRangeArgs
EventSubscriptionAdvancedFilterStringBeginsWith, EventSubscriptionAdvancedFilterStringBeginsWithArgs
EventSubscriptionAdvancedFilterStringContain, EventSubscriptionAdvancedFilterStringContainArgs
EventSubscriptionAdvancedFilterStringEndsWith, EventSubscriptionAdvancedFilterStringEndsWithArgs
EventSubscriptionAdvancedFilterStringIn, EventSubscriptionAdvancedFilterStringInArgs
EventSubscriptionAdvancedFilterStringNotBeginsWith, EventSubscriptionAdvancedFilterStringNotBeginsWithArgs
EventSubscriptionAdvancedFilterStringNotContain, EventSubscriptionAdvancedFilterStringNotContainArgs
EventSubscriptionAdvancedFilterStringNotEndsWith, EventSubscriptionAdvancedFilterStringNotEndsWithArgs
EventSubscriptionAdvancedFilterStringNotIn, EventSubscriptionAdvancedFilterStringNotInArgs
EventSubscriptionAzureFunctionEndpoint, EventSubscriptionAzureFunctionEndpointArgs
- Function
Id 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}.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Function
Id 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}.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- function
Id 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}.
- max
Events IntegerPer Batch - Maximum number of events per batch.
- preferred
Batch IntegerSize In Kilobytes - Preferred batch size in Kilobytes.
- function
Id 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}.
- max
Events numberPer Batch - Maximum number of events per batch.
- preferred
Batch numberSize In Kilobytes - 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_ intper_ batch - Maximum number of events per batch.
- preferred_
batch_ intsize_ in_ kilobytes - Preferred batch size in Kilobytes.
- function
Id 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}.
- max
Events NumberPer Batch - Maximum number of events per batch.
- preferred
Batch NumberSize In Kilobytes - 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
. - User
Assigned stringIdentity - 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
. - User
Assigned stringIdentity - 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
. - user
Assigned StringIdentity - 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
. - user
Assigned stringIdentity - 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_ stridentity - 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
. - user
Assigned StringIdentity - 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
. - User
Assigned stringIdentity - 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
. - User
Assigned stringIdentity - 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
. - user
Assigned StringIdentity - 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
. - user
Assigned stringIdentity - 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_ stridentity - 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
. - user
Assigned StringIdentity - The user identity associated with the resource.
EventSubscriptionDeliveryProperty, EventSubscriptionDeliveryPropertyArgs
- Header
Name string - The name of the header to send on to the destination
- Type string
- Either
Static
orDynamic
- 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 string - If the
type
isDynamic
, then provide the payload field to be used as the value. Valid source fields differ by subscription type. - Value string
- If the
type
isStatic
, then provide the value to use
- Header
Name string - The name of the header to send on to the destination
- Type string
- Either
Static
orDynamic
- 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 string - If the
type
isDynamic
, then provide the payload field to be used as the value. Valid source fields differ by subscription type. - Value string
- If the
type
isStatic
, then provide the value to use
- header
Name String - The name of the header to send on to the destination
- type String
- Either
Static
orDynamic
- 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 - source
Field String - If the
type
isDynamic
, then provide the payload field to be used as the value. Valid source fields differ by subscription type. - value String
- If the
type
isStatic
, then provide the value to use
- header
Name string - The name of the header to send on to the destination
- type string
- Either
Static
orDynamic
- 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 - source
Field string - If the
type
isDynamic
, then provide the payload field to be used as the value. Valid source fields differ by subscription type. - value string
- If the
type
isStatic
, then provide the value to use
- header_
name str - The name of the header to send on to the destination
- type str
- Either
Static
orDynamic
- 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
isDynamic
, then provide the payload field to be used as the value. Valid source fields differ by subscription type. - value str
- If the
type
isStatic
, then provide the value to use
- header
Name String - The name of the header to send on to the destination
- type String
- Either
Static
orDynamic
- 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 - source
Field String - If the
type
isDynamic
, then provide the payload field to be used as the value. Valid source fields differ by subscription type. - value String
- If the
type
isStatic
, then provide the value to use
EventSubscriptionRetryPolicy, EventSubscriptionRetryPolicyArgs
- Event
Time intTo Live - Specifies the time to live (in minutes) for events. Supported range is
1
to1440
. See official documentation for more details. - Max
Delivery intAttempts - Specifies the maximum number of delivery retry attempts for events.
- Event
Time intTo Live - Specifies the time to live (in minutes) for events. Supported range is
1
to1440
. See official documentation for more details. - Max
Delivery intAttempts - Specifies the maximum number of delivery retry attempts for events.
- event
Time IntegerTo Live - Specifies the time to live (in minutes) for events. Supported range is
1
to1440
. See official documentation for more details. - max
Delivery IntegerAttempts - Specifies the maximum number of delivery retry attempts for events.
- event
Time numberTo Live - Specifies the time to live (in minutes) for events. Supported range is
1
to1440
. See official documentation for more details. - max
Delivery numberAttempts - Specifies the maximum number of delivery retry attempts for events.
- event_
time_ intto_ live - Specifies the time to live (in minutes) for events. Supported range is
1
to1440
. See official documentation for more details. - max_
delivery_ intattempts - Specifies the maximum number of delivery retry attempts for events.
- event
Time NumberTo Live - Specifies the time to live (in minutes) for events. Supported range is
1
to1440
. See official documentation for more details. - max
Delivery NumberAttempts - Specifies the maximum number of delivery retry attempts for events.
EventSubscriptionStorageBlobDeadLetterDestination, EventSubscriptionStorageBlobDeadLetterDestinationArgs
- Storage
Account stringId - Specifies the id of the storage account id where the storage blob is located.
- Storage
Blob stringContainer Name - Specifies the name of the Storage blob container that is the destination of the deadletter events.
- Storage
Account stringId - Specifies the id of the storage account id where the storage blob is located.
- Storage
Blob stringContainer Name - Specifies the name of the Storage blob container that is the destination of the deadletter events.
- storage
Account StringId - Specifies the id of the storage account id where the storage blob is located.
- storage
Blob StringContainer Name - Specifies the name of the Storage blob container that is the destination of the deadletter events.
- storage
Account stringId - Specifies the id of the storage account id where the storage blob is located.
- storage
Blob stringContainer Name - Specifies the name of the Storage blob container that is the destination of the deadletter events.
- storage_
account_ strid - Specifies the id of the storage account id where the storage blob is located.
- storage_
blob_ strcontainer_ name - Specifies the name of the Storage blob container that is the destination of the deadletter events.
- storage
Account StringId - Specifies the id of the storage account id where the storage blob is located.
- storage
Blob StringContainer Name - Specifies the name of the Storage blob container that is the destination of the deadletter events.
EventSubscriptionStorageQueueEndpoint, EventSubscriptionStorageQueueEndpointArgs
- Queue
Name string - Specifies the name of the storage queue where the Event Subscription will receive events.
- Storage
Account stringId - Specifies the id of the storage account id where the storage queue is located.
- Queue
Message intTime To Live In Seconds - Storage queue message time to live in seconds.
- Queue
Name string - Specifies the name of the storage queue where the Event Subscription will receive events.
- Storage
Account stringId - Specifies the id of the storage account id where the storage queue is located.
- Queue
Message intTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name String - Specifies the name of the storage queue where the Event Subscription will receive events.
- storage
Account StringId - Specifies the id of the storage account id where the storage queue is located.
- queue
Message IntegerTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name string - Specifies the name of the storage queue where the Event Subscription will receive events.
- storage
Account stringId - Specifies the id of the storage account id where the storage queue is located.
- queue
Message numberTime To Live In Seconds - 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_ strid - Specifies the id of the storage account id where the storage queue is located.
- queue_
message_ inttime_ to_ live_ in_ seconds - Storage queue message time to live in seconds.
- queue
Name String - Specifies the name of the storage queue where the Event Subscription will receive events.
- storage
Account StringId - Specifies the id of the storage account id where the storage queue is located.
- queue
Message NumberTime To Live In Seconds - Storage queue message time to live in seconds.
EventSubscriptionSubjectFilter, EventSubscriptionSubjectFilterArgs
- Case
Sensitive bool - Specifies if
subject_begins_with
andsubject_ends_with
case sensitive. This value - Subject
Begins stringWith - A string to filter events for an event subscription based on a resource path prefix.
- Subject
Ends stringWith - A string to filter events for an event subscription based on a resource path suffix.
- Case
Sensitive bool - Specifies if
subject_begins_with
andsubject_ends_with
case sensitive. This value - Subject
Begins stringWith - A string to filter events for an event subscription based on a resource path prefix.
- Subject
Ends stringWith - A string to filter events for an event subscription based on a resource path suffix.
- case
Sensitive Boolean - Specifies if
subject_begins_with
andsubject_ends_with
case sensitive. This value - subject
Begins StringWith - A string to filter events for an event subscription based on a resource path prefix.
- subject
Ends StringWith - A string to filter events for an event subscription based on a resource path suffix.
- case
Sensitive boolean - Specifies if
subject_begins_with
andsubject_ends_with
case sensitive. This value - subject
Begins stringWith - A string to filter events for an event subscription based on a resource path prefix.
- subject
Ends stringWith - A string to filter events for an event subscription based on a resource path suffix.
- case_
sensitive bool - Specifies if
subject_begins_with
andsubject_ends_with
case sensitive. This value - subject_
begins_ strwith - A string to filter events for an event subscription based on a resource path prefix.
- subject_
ends_ strwith - A string to filter events for an event subscription based on a resource path suffix.
- case
Sensitive Boolean - Specifies if
subject_begins_with
andsubject_ends_with
case sensitive. This value - subject
Begins StringWith - A string to filter events for an event subscription based on a resource path prefix.
- subject
Ends StringWith - 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.
- Active
Directory stringApp Id Or Uri - 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 stringTenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- Base
Url string - The base url of the webhook where the Event Subscription will receive events.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Url string
- Specifies the url of the webhook where the Event Subscription will receive events.
- Active
Directory stringApp Id Or Uri - 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 stringTenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- Base
Url string - The base url of the webhook where the Event Subscription will receive events.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- url String
- Specifies the url of the webhook where the Event Subscription will receive events.
- active
Directory StringApp Id Or Uri - 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 StringTenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- base
Url String - The base url of the webhook where the Event Subscription will receive events.
- max
Events IntegerPer Batch - Maximum number of events per batch.
- preferred
Batch IntegerSize In Kilobytes - Preferred batch size in Kilobytes.
- url string
- Specifies the url of the webhook where the Event Subscription will receive events.
- active
Directory stringApp Id Or Uri - 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 stringTenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- base
Url string - The base url of the webhook where the Event Subscription will receive events.
- max
Events numberPer Batch - Maximum number of events per batch.
- preferred
Batch numberSize In Kilobytes - Preferred batch size in Kilobytes.
- url str
- Specifies the url of the webhook where the Event Subscription will receive events.
- active_
directory_ strapp_ id_ or_ uri - 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_ strtenant_ id - 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_ intper_ batch - Maximum number of events per batch.
- preferred_
batch_ intsize_ in_ kilobytes - Preferred batch size in Kilobytes.
- url String
- Specifies the url of the webhook where the Event Subscription will receive events.
- active
Directory StringApp Id Or Uri - 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 StringTenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- base
Url String - The base url of the webhook where the Event Subscription will receive events.
- max
Events NumberPer Batch - Maximum number of events per batch.
- preferred
Batch NumberSize In Kilobytes - 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.