azure-native.eventgrid.EventSubscription
Explore with Pulumi AI
Event Subscription API Version: 2020-06-01.
Example Usage
EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
DeadLetterDestination = new AzureNative.EventGrid.Inputs.StorageBlobDeadLetterDestinationArgs
{
BlobContainerName = "contosocontainer",
EndpointType = "StorageBlob",
ResourceId = "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
Destination = new AzureNative.EventGrid.Inputs.EventHubEventSubscriptionDestinationArgs
{
EndpointType = "EventHub",
ResourceId = "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1",
},
EventSubscriptionName = "examplesubscription1",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
SubjectBeginsWith = "ExamplePrefix",
SubjectEndsWith = "ExampleSuffix",
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.deadLetterDestination(Map.ofEntries(
Map.entry("blobContainerName", "contosocontainer"),
Map.entry("endpointType", "StorageBlob"),
Map.entry("resourceId", "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg")
))
.destination(Map.ofEntries(
Map.entry("endpointType", "EventHub"),
Map.entry("resourceId", "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1")
))
.eventSubscriptionName("examplesubscription1")
.filter(Map.ofEntries(
Map.entry("isSubjectCaseSensitive", false),
Map.entry("subjectBeginsWith", "ExamplePrefix"),
Map.entry("subjectEndsWith", "ExampleSuffix")
))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
dead_letter_destination=azure_native.eventgrid.StorageBlobDeadLetterDestinationResponseArgs(
blob_container_name="contosocontainer",
endpoint_type="StorageBlob",
resource_id="/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
),
destination=azure_native.eventgrid.EventHubEventSubscriptionDestinationArgs(
endpoint_type="EventHub",
resource_id="/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1",
),
event_subscription_name="examplesubscription1",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
subject_begins_with="ExamplePrefix",
subject_ends_with="ExampleSuffix",
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
deadLetterDestination: {
blobContainerName: "contosocontainer",
endpointType: "StorageBlob",
resourceId: "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
destination: {
endpointType: "EventHub",
resourceId: "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1",
},
eventSubscriptionName: "examplesubscription1",
filter: {
isSubjectCaseSensitive: false,
subjectBeginsWith: "ExamplePrefix",
subjectEndsWith: "ExampleSuffix",
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
deadLetterDestination:
blobContainerName: contosocontainer
endpointType: StorageBlob
resourceId: /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg
destination:
endpointType: EventHub
resourceId: /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1
eventSubscriptionName: examplesubscription1
filter:
isSubjectCaseSensitive: false
subjectBeginsWith: ExamplePrefix
subjectEndsWith: ExampleSuffix
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1
EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
DeadLetterDestination = new AzureNative.EventGrid.Inputs.StorageBlobDeadLetterDestinationArgs
{
BlobContainerName = "contosocontainer",
EndpointType = "StorageBlob",
ResourceId = "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
Destination = new AzureNative.EventGrid.Inputs.HybridConnectionEventSubscriptionDestinationArgs
{
EndpointType = "HybridConnection",
ResourceId = "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1",
},
EventSubscriptionName = "examplesubscription1",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
SubjectBeginsWith = "ExamplePrefix",
SubjectEndsWith = "ExampleSuffix",
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.deadLetterDestination(Map.ofEntries(
Map.entry("blobContainerName", "contosocontainer"),
Map.entry("endpointType", "StorageBlob"),
Map.entry("resourceId", "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg")
))
.destination(Map.ofEntries(
Map.entry("endpointType", "HybridConnection"),
Map.entry("resourceId", "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1")
))
.eventSubscriptionName("examplesubscription1")
.filter(Map.ofEntries(
Map.entry("isSubjectCaseSensitive", false),
Map.entry("subjectBeginsWith", "ExamplePrefix"),
Map.entry("subjectEndsWith", "ExampleSuffix")
))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
dead_letter_destination=azure_native.eventgrid.StorageBlobDeadLetterDestinationResponseArgs(
blob_container_name="contosocontainer",
endpoint_type="StorageBlob",
resource_id="/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
),
destination=azure_native.eventgrid.HybridConnectionEventSubscriptionDestinationArgs(
endpoint_type="HybridConnection",
resource_id="/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1",
),
event_subscription_name="examplesubscription1",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
subject_begins_with="ExamplePrefix",
subject_ends_with="ExampleSuffix",
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
deadLetterDestination: {
blobContainerName: "contosocontainer",
endpointType: "StorageBlob",
resourceId: "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
destination: {
endpointType: "HybridConnection",
resourceId: "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1",
},
eventSubscriptionName: "examplesubscription1",
filter: {
isSubjectCaseSensitive: false,
subjectBeginsWith: "ExamplePrefix",
subjectEndsWith: "ExampleSuffix",
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
deadLetterDestination:
blobContainerName: contosocontainer
endpointType: StorageBlob
resourceId: /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg
destination:
endpointType: HybridConnection
resourceId: /subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1
eventSubscriptionName: examplesubscription1
filter:
isSubjectCaseSensitive: false
subjectBeginsWith: ExamplePrefix
subjectEndsWith: ExampleSuffix
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1
EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
DeadLetterDestination = new AzureNative.EventGrid.Inputs.StorageBlobDeadLetterDestinationArgs
{
BlobContainerName = "contosocontainer",
EndpointType = "StorageBlob",
ResourceId = "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
Destination = new AzureNative.EventGrid.Inputs.StorageQueueEventSubscriptionDestinationArgs
{
EndpointType = "StorageQueue",
QueueName = "queue1",
ResourceId = "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
EventSubscriptionName = "examplesubscription1",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
SubjectBeginsWith = "ExamplePrefix",
SubjectEndsWith = "ExampleSuffix",
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.deadLetterDestination(Map.ofEntries(
Map.entry("blobContainerName", "contosocontainer"),
Map.entry("endpointType", "StorageBlob"),
Map.entry("resourceId", "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg")
))
.destination(Map.ofEntries(
Map.entry("endpointType", "StorageQueue"),
Map.entry("queueName", "queue1"),
Map.entry("resourceId", "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg")
))
.eventSubscriptionName("examplesubscription1")
.filter(Map.ofEntries(
Map.entry("isSubjectCaseSensitive", false),
Map.entry("subjectBeginsWith", "ExamplePrefix"),
Map.entry("subjectEndsWith", "ExampleSuffix")
))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
dead_letter_destination=azure_native.eventgrid.StorageBlobDeadLetterDestinationResponseArgs(
blob_container_name="contosocontainer",
endpoint_type="StorageBlob",
resource_id="/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
),
destination=azure_native.eventgrid.StorageQueueEventSubscriptionDestinationArgs(
endpoint_type="StorageQueue",
queue_name="queue1",
resource_id="/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
),
event_subscription_name="examplesubscription1",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
subject_begins_with="ExamplePrefix",
subject_ends_with="ExampleSuffix",
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
deadLetterDestination: {
blobContainerName: "contosocontainer",
endpointType: "StorageBlob",
resourceId: "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
destination: {
endpointType: "StorageQueue",
queueName: "queue1",
resourceId: "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
},
eventSubscriptionName: "examplesubscription1",
filter: {
isSubjectCaseSensitive: false,
subjectBeginsWith: "ExamplePrefix",
subjectEndsWith: "ExampleSuffix",
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
deadLetterDestination:
blobContainerName: contosocontainer
endpointType: StorageBlob
resourceId: /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg
destination:
endpointType: StorageQueue
queueName: queue1
resourceId: /subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg
eventSubscriptionName: examplesubscription1
filter:
isSubjectCaseSensitive: false
subjectBeginsWith: ExamplePrefix
subjectEndsWith: ExampleSuffix
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1
EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
Destination = new AzureNative.EventGrid.Inputs.WebHookEventSubscriptionDestinationArgs
{
EndpointType = "WebHook",
EndpointUrl = "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE",
},
EventSubscriptionName = "examplesubscription1",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
SubjectBeginsWith = "ExamplePrefix",
SubjectEndsWith = "ExampleSuffix",
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
});
package main
import (
eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventgrid.NewEventSubscription(ctx, "eventSubscription", &eventgrid.EventSubscriptionArgs{
Destination: eventgrid.WebHookEventSubscriptionDestination{
EndpointType: "WebHook",
EndpointUrl: "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE",
},
EventSubscriptionName: pulumi.String("examplesubscription1"),
Filter: &eventgrid.EventSubscriptionFilterArgs{
IsSubjectCaseSensitive: pulumi.Bool(false),
SubjectBeginsWith: pulumi.String("ExamplePrefix"),
SubjectEndsWith: pulumi.String("ExampleSuffix"),
},
Scope: pulumi.String("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.destination(Map.ofEntries(
Map.entry("endpointType", "WebHook"),
Map.entry("endpointUrl", "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE")
))
.eventSubscriptionName("examplesubscription1")
.filter(Map.ofEntries(
Map.entry("isSubjectCaseSensitive", false),
Map.entry("subjectBeginsWith", "ExamplePrefix"),
Map.entry("subjectEndsWith", "ExampleSuffix")
))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
destination=azure_native.eventgrid.WebHookEventSubscriptionDestinationArgs(
endpoint_type="WebHook",
endpoint_url="https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE",
),
event_subscription_name="examplesubscription1",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
subject_begins_with="ExamplePrefix",
subject_ends_with="ExampleSuffix",
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
destination: {
endpointType: "WebHook",
endpointUrl: "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE",
},
eventSubscriptionName: "examplesubscription1",
filter: {
isSubjectCaseSensitive: false,
subjectBeginsWith: "ExamplePrefix",
subjectEndsWith: "ExampleSuffix",
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
destination:
endpointType: WebHook
endpointUrl: https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE
eventSubscriptionName: examplesubscription1
filter:
isSubjectCaseSensitive: false
subjectBeginsWith: ExamplePrefix
subjectEndsWith: ExampleSuffix
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1
EventSubscriptions_CreateOrUpdateForResource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
Destination = new AzureNative.EventGrid.Inputs.WebHookEventSubscriptionDestinationArgs
{
EndpointType = "WebHook",
EndpointUrl = "https://requestb.in/15ksip71",
},
EventSubscriptionName = "examplesubscription10",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
SubjectBeginsWith = "ExamplePrefix",
SubjectEndsWith = "ExampleSuffix",
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
});
});
package main
import (
eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventgrid.NewEventSubscription(ctx, "eventSubscription", &eventgrid.EventSubscriptionArgs{
Destination: eventgrid.WebHookEventSubscriptionDestination{
EndpointType: "WebHook",
EndpointUrl: "https://requestb.in/15ksip71",
},
EventSubscriptionName: pulumi.String("examplesubscription10"),
Filter: &eventgrid.EventSubscriptionFilterArgs{
IsSubjectCaseSensitive: pulumi.Bool(false),
SubjectBeginsWith: pulumi.String("ExamplePrefix"),
SubjectEndsWith: pulumi.String("ExampleSuffix"),
},
Scope: pulumi.String("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.destination(Map.ofEntries(
Map.entry("endpointType", "WebHook"),
Map.entry("endpointUrl", "https://requestb.in/15ksip71")
))
.eventSubscriptionName("examplesubscription10")
.filter(Map.ofEntries(
Map.entry("isSubjectCaseSensitive", false),
Map.entry("subjectBeginsWith", "ExamplePrefix"),
Map.entry("subjectEndsWith", "ExampleSuffix")
))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
destination=azure_native.eventgrid.WebHookEventSubscriptionDestinationArgs(
endpoint_type="WebHook",
endpoint_url="https://requestb.in/15ksip71",
),
event_subscription_name="examplesubscription10",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
subject_begins_with="ExamplePrefix",
subject_ends_with="ExampleSuffix",
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
destination: {
endpointType: "WebHook",
endpointUrl: "https://requestb.in/15ksip71",
},
eventSubscriptionName: "examplesubscription10",
filter: {
isSubjectCaseSensitive: false,
subjectBeginsWith: "ExamplePrefix",
subjectEndsWith: "ExampleSuffix",
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
destination:
endpointType: WebHook
endpointUrl: https://requestb.in/15ksip71
eventSubscriptionName: examplesubscription10
filter:
isSubjectCaseSensitive: false
subjectBeginsWith: ExamplePrefix
subjectEndsWith: ExampleSuffix
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1
EventSubscriptions_CreateOrUpdateForResourceGroup
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
Destination = new AzureNative.EventGrid.Inputs.WebHookEventSubscriptionDestinationArgs
{
EndpointType = "WebHook",
EndpointUrl = "https://requestb.in/15ksip71",
},
EventSubscriptionName = "examplesubscription2",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
SubjectBeginsWith = "ExamplePrefix",
SubjectEndsWith = "ExampleSuffix",
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
});
});
package main
import (
eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventgrid.NewEventSubscription(ctx, "eventSubscription", &eventgrid.EventSubscriptionArgs{
Destination: eventgrid.WebHookEventSubscriptionDestination{
EndpointType: "WebHook",
EndpointUrl: "https://requestb.in/15ksip71",
},
EventSubscriptionName: pulumi.String("examplesubscription2"),
Filter: &eventgrid.EventSubscriptionFilterArgs{
IsSubjectCaseSensitive: pulumi.Bool(false),
SubjectBeginsWith: pulumi.String("ExamplePrefix"),
SubjectEndsWith: pulumi.String("ExampleSuffix"),
},
Scope: pulumi.String("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.destination(Map.ofEntries(
Map.entry("endpointType", "WebHook"),
Map.entry("endpointUrl", "https://requestb.in/15ksip71")
))
.eventSubscriptionName("examplesubscription2")
.filter(Map.ofEntries(
Map.entry("isSubjectCaseSensitive", false),
Map.entry("subjectBeginsWith", "ExamplePrefix"),
Map.entry("subjectEndsWith", "ExampleSuffix")
))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
destination=azure_native.eventgrid.WebHookEventSubscriptionDestinationArgs(
endpoint_type="WebHook",
endpoint_url="https://requestb.in/15ksip71",
),
event_subscription_name="examplesubscription2",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
subject_begins_with="ExamplePrefix",
subject_ends_with="ExampleSuffix",
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
destination: {
endpointType: "WebHook",
endpointUrl: "https://requestb.in/15ksip71",
},
eventSubscriptionName: "examplesubscription2",
filter: {
isSubjectCaseSensitive: false,
subjectBeginsWith: "ExamplePrefix",
subjectEndsWith: "ExampleSuffix",
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
destination:
endpointType: WebHook
endpointUrl: https://requestb.in/15ksip71
eventSubscriptionName: examplesubscription2
filter:
isSubjectCaseSensitive: false
subjectBeginsWith: ExamplePrefix
subjectEndsWith: ExampleSuffix
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg
EventSubscriptions_CreateOrUpdateForSubscription
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventSubscription = new AzureNative.EventGrid.EventSubscription("eventSubscription", new()
{
Destination = new AzureNative.EventGrid.Inputs.WebHookEventSubscriptionDestinationArgs
{
EndpointType = "WebHook",
EndpointUrl = "https://requestb.in/15ksip71",
},
EventSubscriptionName = "examplesubscription3",
Filter = new AzureNative.EventGrid.Inputs.EventSubscriptionFilterArgs
{
IsSubjectCaseSensitive = false,
},
Scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
});
});
package main
import (
eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventgrid.NewEventSubscription(ctx, "eventSubscription", &eventgrid.EventSubscriptionArgs{
Destination: eventgrid.WebHookEventSubscriptionDestination{
EndpointType: "WebHook",
EndpointUrl: "https://requestb.in/15ksip71",
},
EventSubscriptionName: pulumi.String("examplesubscription3"),
Filter: &eventgrid.EventSubscriptionFilterArgs{
IsSubjectCaseSensitive: pulumi.Bool(false),
},
Scope: pulumi.String("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.EventSubscription;
import com.pulumi.azurenative.eventgrid.EventSubscriptionArgs;
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 eventSubscription = new EventSubscription("eventSubscription", EventSubscriptionArgs.builder()
.destination(Map.ofEntries(
Map.entry("endpointType", "WebHook"),
Map.entry("endpointUrl", "https://requestb.in/15ksip71")
))
.eventSubscriptionName("examplesubscription3")
.filter(Map.of("isSubjectCaseSensitive", false))
.scope("subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_subscription = azure_native.eventgrid.EventSubscription("eventSubscription",
destination=azure_native.eventgrid.WebHookEventSubscriptionDestinationArgs(
endpoint_type="WebHook",
endpoint_url="https://requestb.in/15ksip71",
),
event_subscription_name="examplesubscription3",
filter=azure_native.eventgrid.EventSubscriptionFilterArgs(
is_subject_case_sensitive=False,
),
scope="subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventSubscription = new azure_native.eventgrid.EventSubscription("eventSubscription", {
destination: {
endpointType: "WebHook",
endpointUrl: "https://requestb.in/15ksip71",
},
eventSubscriptionName: "examplesubscription3",
filter: {
isSubjectCaseSensitive: false,
},
scope: "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
});
resources:
eventSubscription:
type: azure-native:eventgrid:EventSubscription
properties:
destination:
endpointType: WebHook
endpointUrl: https://requestb.in/15ksip71
eventSubscriptionName: examplesubscription3
filter:
isSubjectCaseSensitive: false
scope: subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4
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,
dead_letter_destination: Optional[StorageBlobDeadLetterDestinationArgs] = None,
destination: Optional[Union[AzureFunctionEventSubscriptionDestinationArgs, EventHubEventSubscriptionDestinationArgs, HybridConnectionEventSubscriptionDestinationArgs, ServiceBusQueueEventSubscriptionDestinationArgs, ServiceBusTopicEventSubscriptionDestinationArgs, StorageQueueEventSubscriptionDestinationArgs, WebHookEventSubscriptionDestinationArgs]] = None,
event_delivery_schema: Optional[Union[str, EventDeliverySchema]] = None,
event_subscription_name: Optional[str] = None,
expiration_time_utc: Optional[str] = None,
filter: Optional[EventSubscriptionFilterArgs] = None,
labels: Optional[Sequence[str]] = None,
retry_policy: Optional[RetryPolicyArgs] = 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-native: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 AzureNative.Eventgrid.EventSubscription("eventSubscriptionResource", new()
{
Scope = "string",
DeadLetterDestination =
{
{ "endpointType", "StorageBlob" },
{ "blobContainerName", "string" },
{ "resourceId", "string" },
},
Destination =
{
{ "endpointType", "AzureFunction" },
{ "deliveryAttributeMappings", new[]
{
{
{ "type", "Dynamic" },
{ "name", "string" },
{ "sourceField", "string" },
},
} },
{ "maxEventsPerBatch", 0 },
{ "preferredBatchSizeInKilobytes", 0 },
{ "resourceId", "string" },
},
EventDeliverySchema = "string",
EventSubscriptionName = "string",
ExpirationTimeUtc = "string",
Filter =
{
{ "advancedFilters", new[]
{
{
{ "operatorType", "BoolEquals" },
{ "key", "string" },
{ "value", false },
},
} },
{ "enableAdvancedFilteringOnArrays", false },
{ "includedEventTypes", new[]
{
"string",
} },
{ "isSubjectCaseSensitive", false },
{ "subjectBeginsWith", "string" },
{ "subjectEndsWith", "string" },
},
Labels = new[]
{
"string",
},
RetryPolicy =
{
{ "eventTimeToLiveInMinutes", 0 },
{ "maxDeliveryAttempts", 0 },
},
});
example, err := eventgrid.NewEventSubscription(ctx, "eventSubscriptionResource", &eventgrid.EventSubscriptionArgs{
Scope: "string",
DeadLetterDestination: map[string]interface{}{
"endpointType": "StorageBlob",
"blobContainerName": "string",
"resourceId": "string",
},
Destination: map[string]interface{}{
"endpointType": "AzureFunction",
"deliveryAttributeMappings": []map[string]interface{}{
map[string]interface{}{
"type": "Dynamic",
"name": "string",
"sourceField": "string",
},
},
"maxEventsPerBatch": 0,
"preferredBatchSizeInKilobytes": 0,
"resourceId": "string",
},
EventDeliverySchema: "string",
EventSubscriptionName: "string",
ExpirationTimeUtc: "string",
Filter: map[string]interface{}{
"advancedFilters": []map[string]interface{}{
map[string]interface{}{
"operatorType": "BoolEquals",
"key": "string",
"value": false,
},
},
"enableAdvancedFilteringOnArrays": false,
"includedEventTypes": []string{
"string",
},
"isSubjectCaseSensitive": false,
"subjectBeginsWith": "string",
"subjectEndsWith": "string",
},
Labels: []string{
"string",
},
RetryPolicy: map[string]interface{}{
"eventTimeToLiveInMinutes": 0,
"maxDeliveryAttempts": 0,
},
})
var eventSubscriptionResource = new EventSubscription("eventSubscriptionResource", EventSubscriptionArgs.builder()
.scope("string")
.deadLetterDestination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.destination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.eventDeliverySchema("string")
.eventSubscriptionName("string")
.expirationTimeUtc("string")
.filter(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.labels("string")
.retryPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
event_subscription_resource = azure_native.eventgrid.EventSubscription("eventSubscriptionResource",
scope=string,
dead_letter_destination={
endpointType: StorageBlob,
blobContainerName: string,
resourceId: string,
},
destination={
endpointType: AzureFunction,
deliveryAttributeMappings: [{
type: Dynamic,
name: string,
sourceField: string,
}],
maxEventsPerBatch: 0,
preferredBatchSizeInKilobytes: 0,
resourceId: string,
},
event_delivery_schema=string,
event_subscription_name=string,
expiration_time_utc=string,
filter={
advancedFilters: [{
operatorType: BoolEquals,
key: string,
value: False,
}],
enableAdvancedFilteringOnArrays: False,
includedEventTypes: [string],
isSubjectCaseSensitive: False,
subjectBeginsWith: string,
subjectEndsWith: string,
},
labels=[string],
retry_policy={
eventTimeToLiveInMinutes: 0,
maxDeliveryAttempts: 0,
})
const eventSubscriptionResource = new azure_native.eventgrid.EventSubscription("eventSubscriptionResource", {
scope: "string",
deadLetterDestination: {
endpointType: "StorageBlob",
blobContainerName: "string",
resourceId: "string",
},
destination: {
endpointType: "AzureFunction",
deliveryAttributeMappings: [{
type: "Dynamic",
name: "string",
sourceField: "string",
}],
maxEventsPerBatch: 0,
preferredBatchSizeInKilobytes: 0,
resourceId: "string",
},
eventDeliverySchema: "string",
eventSubscriptionName: "string",
expirationTimeUtc: "string",
filter: {
advancedFilters: [{
operatorType: "BoolEquals",
key: "string",
value: false,
}],
enableAdvancedFilteringOnArrays: false,
includedEventTypes: ["string"],
isSubjectCaseSensitive: false,
subjectBeginsWith: "string",
subjectEndsWith: "string",
},
labels: ["string"],
retryPolicy: {
eventTimeToLiveInMinutes: 0,
maxDeliveryAttempts: 0,
},
});
type: azure-native:eventgrid:EventSubscription
properties:
deadLetterDestination:
blobContainerName: string
endpointType: StorageBlob
resourceId: string
destination:
deliveryAttributeMappings:
- name: string
sourceField: string
type: Dynamic
endpointType: AzureFunction
maxEventsPerBatch: 0
preferredBatchSizeInKilobytes: 0
resourceId: string
eventDeliverySchema: string
eventSubscriptionName: string
expirationTimeUtc: string
filter:
advancedFilters:
- key: string
operatorType: BoolEquals
value: false
enableAdvancedFilteringOnArrays: false
includedEventTypes:
- string
isSubjectCaseSensitive: false
subjectBeginsWith: string
subjectEndsWith: string
labels:
- string
retryPolicy:
eventTimeToLiveInMinutes: 0
maxDeliveryAttempts: 0
scope: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventSubscription resource accepts the following input properties:
- Scope string
- The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- Dead
Letter Pulumi.Destination Azure Native. Event Grid. Inputs. Storage Blob Dead Letter Destination - The DeadLetter destination of the event subscription.
- Destination
Pulumi.
Azure | Pulumi.Native. Event Grid. Inputs. Azure Function Event Subscription Destination Azure | Pulumi.Native. Event Grid. Inputs. Event Hub Event Subscription Destination Azure | Pulumi.Native. Event Grid. Inputs. Hybrid Connection Event Subscription Destination Azure | Pulumi.Native. Event Grid. Inputs. Service Bus Queue Event Subscription Destination Azure | Pulumi.Native. Event Grid. Inputs. Service Bus Topic Event Subscription Destination Azure | Pulumi.Native. Event Grid. Inputs. Storage Queue Event Subscription Destination Azure Native. Event Grid. Inputs. Web Hook Event Subscription Destination - Information about the destination where events have to be delivered for the event subscription.
- Event
Delivery string | Pulumi.Schema Azure Native. Event Grid. Event Delivery Schema - The event delivery schema for the event subscription.
- Event
Subscription stringName - Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.
- Expiration
Time stringUtc - Expiration time of the event subscription.
- Filter
Pulumi.
Azure Native. Event Grid. Inputs. Event Subscription Filter - Information about the filter for the event subscription.
- Labels List<string>
- List of user defined labels.
- Retry
Policy Pulumi.Azure Native. Event Grid. Inputs. Retry Policy - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
- Scope string
- The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- Dead
Letter StorageDestination Blob Dead Letter Destination Args - The DeadLetter destination of the event subscription.
- Destination
Azure
Function | EventEvent Subscription Destination Args Hub | HybridEvent Subscription Destination Args Connection | ServiceEvent Subscription Destination Args Bus | ServiceQueue Event Subscription Destination Args Bus | StorageTopic Event Subscription Destination Args Queue | WebEvent Subscription Destination Args Hook Event Subscription Destination Args - Information about the destination where events have to be delivered for the event subscription.
- Event
Delivery string | EventSchema Delivery Schema - The event delivery schema for the event subscription.
- Event
Subscription stringName - Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.
- Expiration
Time stringUtc - Expiration time of the event subscription.
- Filter
Event
Subscription Filter Args - Information about the filter for the event subscription.
- Labels []string
- List of user defined labels.
- Retry
Policy RetryPolicy Args - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
- scope String
- The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- dead
Letter StorageDestination Blob Dead Letter Destination - The DeadLetter destination of the event subscription.
- destination
Azure
Function | EventEvent Subscription Destination Hub | HybridEvent Subscription Destination Connection | ServiceEvent Subscription Destination Bus | ServiceQueue Event Subscription Destination Bus | StorageTopic Event Subscription Destination Queue | WebEvent Subscription Destination Hook Event Subscription Destination - Information about the destination where events have to be delivered for the event subscription.
- event
Delivery String | EventSchema Delivery Schema - The event delivery schema for the event subscription.
- event
Subscription StringName - Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.
- expiration
Time StringUtc - Expiration time of the event subscription.
- filter
Event
Subscription Filter - Information about the filter for the event subscription.
- labels List<String>
- List of user defined labels.
- retry
Policy RetryPolicy - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
- scope string
- The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- dead
Letter StorageDestination Blob Dead Letter Destination - The DeadLetter destination of the event subscription.
- destination
Azure
Function | EventEvent Subscription Destination Hub | HybridEvent Subscription Destination Connection | ServiceEvent Subscription Destination Bus | ServiceQueue Event Subscription Destination Bus | StorageTopic Event Subscription Destination Queue | WebEvent Subscription Destination Hook Event Subscription Destination - Information about the destination where events have to be delivered for the event subscription.
- event
Delivery string | EventSchema Delivery Schema - The event delivery schema for the event subscription.
- event
Subscription stringName - Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.
- expiration
Time stringUtc - Expiration time of the event subscription.
- filter
Event
Subscription Filter - Information about the filter for the event subscription.
- labels string[]
- List of user defined labels.
- retry
Policy RetryPolicy - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
- scope str
- The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- dead_
letter_ Storagedestination Blob Dead Letter Destination Args - The DeadLetter destination of the event subscription.
- destination
Azure
Function | EventEvent Subscription Destination Args Hub | HybridEvent Subscription Destination Args Connection | ServiceEvent Subscription Destination Args Bus | ServiceQueue Event Subscription Destination Args Bus | StorageTopic Event Subscription Destination Args Queue | WebEvent Subscription Destination Args Hook Event Subscription Destination Args - Information about the destination where events have to be delivered for the event subscription.
- event_
delivery_ str | Eventschema Delivery Schema - The event delivery schema for the event subscription.
- event_
subscription_ strname - Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.
- expiration_
time_ strutc - Expiration time of the event subscription.
- filter
Event
Subscription Filter Args - Information about the filter for the event subscription.
- labels Sequence[str]
- List of user defined labels.
- retry_
policy RetryPolicy Args - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
- scope String
- The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- dead
Letter Property MapDestination - The DeadLetter destination of the event subscription.
- destination Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map
- Information about the destination where events have to be delivered for the event subscription.
- event
Delivery String | "EventSchema Grid Schema" | "Custom Input Schema" | "Cloud Event Schema V1_0" - The event delivery schema for the event subscription.
- event
Subscription StringName - Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.
- expiration
Time StringUtc - Expiration time of the event subscription.
- filter Property Map
- Information about the filter for the event subscription.
- labels List<String>
- List of user defined labels.
- retry
Policy Property Map - The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
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.
- Name string
- Name of the resource.
- Provisioning
State string - Provisioning state of the event subscription.
- System
Data Pulumi.Azure Native. Event Grid. Outputs. System Data Response - The system metadata relating to Event Subscription resource.
- Topic string
- Name of the topic of the event subscription.
- Type string
- Type of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource.
- Provisioning
State string - Provisioning state of the event subscription.
- System
Data SystemData Response - The system metadata relating to Event Subscription resource.
- Topic string
- Name of the topic of the event subscription.
- Type string
- Type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource.
- provisioning
State String - Provisioning state of the event subscription.
- system
Data SystemData Response - The system metadata relating to Event Subscription resource.
- topic String
- Name of the topic of the event subscription.
- type String
- Type of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the resource.
- provisioning
State string - Provisioning state of the event subscription.
- system
Data SystemData Response - The system metadata relating to Event Subscription resource.
- topic string
- Name of the topic of the event subscription.
- type string
- Type of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the resource.
- provisioning_
state str - Provisioning state of the event subscription.
- system_
data SystemData Response - The system metadata relating to Event Subscription resource.
- topic str
- Name of the topic of the event subscription.
- type str
- Type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource.
- provisioning
State String - Provisioning state of the event subscription.
- system
Data Property Map - The system metadata relating to Event Subscription resource.
- topic String
- Name of the topic of the event subscription.
- type String
- Type of the resource.
Supporting Types
AzureFunctionEventSubscriptionDestination, AzureFunctionEventSubscriptionDestinationArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping>> - Delivery attribute details.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping,Static Delivery Attribute Mapping>> - Delivery attribute details.
- max
Events IntegerPer Batch - Maximum number of events per batch.
- preferred
Batch IntegerSize In Kilobytes - Preferred batch size in Kilobytes.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping | Static Delivery Attribute Mapping)[] - Delivery attribute details.
- max
Events numberPer Batch - Maximum number of events per batch.
- preferred
Batch numberSize In Kilobytes - Preferred batch size in Kilobytes.
- resource
Id string - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping, Static Delivery Attribute Mapping]] - Delivery attribute details.
- max_
events_ intper_ batch - Maximum number of events per batch.
- preferred_
batch_ intsize_ in_ kilobytes - Preferred batch size in Kilobytes.
- resource_
id str - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- max
Events NumberPer Batch - Maximum number of events per batch.
- preferred
Batch NumberSize In Kilobytes - Preferred batch size in Kilobytes.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
AzureFunctionEventSubscriptionDestinationResponse, AzureFunctionEventSubscriptionDestinationResponseArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- max
Events IntegerPer Batch - Maximum number of events per batch.
- preferred
Batch IntegerSize In Kilobytes - Preferred batch size in Kilobytes.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - Delivery attribute details.
- max
Events numberPer Batch - Maximum number of events per batch.
- preferred
Batch numberSize In Kilobytes - Preferred batch size in Kilobytes.
- resource
Id string - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping Response, Static Delivery Attribute Mapping Response]] - Delivery attribute details.
- max_
events_ intper_ batch - Maximum number of events per batch.
- preferred_
batch_ intsize_ in_ kilobytes - Preferred batch size in Kilobytes.
- resource_
id str - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- max
Events NumberPer Batch - Maximum number of events per batch.
- preferred
Batch NumberSize In Kilobytes - Preferred batch size in Kilobytes.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
BoolEqualsAdvancedFilter, BoolEqualsAdvancedFilterArgs
BoolEqualsAdvancedFilterResponse, BoolEqualsAdvancedFilterResponseArgs
DynamicDeliveryAttributeMapping, DynamicDeliveryAttributeMappingArgs
- Name string
- Name of the delivery attribute or header.
- Source
Field string - JSON path in the event which contains attribute value.
- Name string
- Name of the delivery attribute or header.
- Source
Field string - JSON path in the event which contains attribute value.
- name String
- Name of the delivery attribute or header.
- source
Field String - JSON path in the event which contains attribute value.
- name string
- Name of the delivery attribute or header.
- source
Field string - JSON path in the event which contains attribute value.
- name str
- Name of the delivery attribute or header.
- source_
field str - JSON path in the event which contains attribute value.
- name String
- Name of the delivery attribute or header.
- source
Field String - JSON path in the event which contains attribute value.
DynamicDeliveryAttributeMappingResponse, DynamicDeliveryAttributeMappingResponseArgs
- Name string
- Name of the delivery attribute or header.
- Source
Field string - JSON path in the event which contains attribute value.
- Name string
- Name of the delivery attribute or header.
- Source
Field string - JSON path in the event which contains attribute value.
- name String
- Name of the delivery attribute or header.
- source
Field String - JSON path in the event which contains attribute value.
- name string
- Name of the delivery attribute or header.
- source
Field string - JSON path in the event which contains attribute value.
- name str
- Name of the delivery attribute or header.
- source_
field str - JSON path in the event which contains attribute value.
- name String
- Name of the delivery attribute or header.
- source
Field String - JSON path in the event which contains attribute value.
EventDeliverySchema, EventDeliverySchemaArgs
- Event
Grid Schema - EventGridSchema
- Custom
Input Schema - CustomInputSchema
- Cloud
Event Schema V1_0 - CloudEventSchemaV1_0
- Event
Delivery Schema Event Grid Schema - EventGridSchema
- Event
Delivery Schema Custom Input Schema - CustomInputSchema
- Event
Delivery Schema_Cloud Event Schema V1_0 - CloudEventSchemaV1_0
- Event
Grid Schema - EventGridSchema
- Custom
Input Schema - CustomInputSchema
- Cloud
Event Schema V1_0 - CloudEventSchemaV1_0
- Event
Grid Schema - EventGridSchema
- Custom
Input Schema - CustomInputSchema
- Cloud
Event Schema V1_0 - CloudEventSchemaV1_0
- EVENT_GRID_SCHEMA
- EventGridSchema
- CUSTOM_INPUT_SCHEMA
- CustomInputSchema
- CLOUD_EVENT_SCHEMA_V1_0
- CloudEventSchemaV1_0
- "Event
Grid Schema" - EventGridSchema
- "Custom
Input Schema" - CustomInputSchema
- "Cloud
Event Schema V1_0" - CloudEventSchemaV1_0
EventHubEventSubscriptionDestination, EventHubEventSubscriptionDestinationArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping>> - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping,Static Delivery Attribute Mapping>> - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping | Static Delivery Attribute Mapping)[] - Delivery attribute details.
- resource
Id string - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping, Static Delivery Attribute Mapping]] - Delivery attribute details.
- resource_
id str - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
EventHubEventSubscriptionDestinationResponse, EventHubEventSubscriptionDestinationResponseArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - Delivery attribute details.
- resource
Id string - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping Response, Static Delivery Attribute Mapping Response]] - Delivery attribute details.
- resource_
id str - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
EventSubscriptionFilter, EventSubscriptionFilterArgs
- Advanced
Filters List<object> - An array of advanced filters that are used for filtering event subscriptions.
- Enable
Advanced boolFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- Included
Event List<string>Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- Is
Subject boolCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- Subject
Begins stringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- Subject
Ends stringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- Advanced
Filters []interface{} - An array of advanced filters that are used for filtering event subscriptions.
- Enable
Advanced boolFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- Included
Event []stringTypes - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- Is
Subject boolCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- Subject
Begins stringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- Subject
Ends stringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced
Filters List<Object> - An array of advanced filters that are used for filtering event subscriptions.
- enable
Advanced BooleanFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included
Event List<String>Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is
Subject BooleanCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject
Begins StringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject
Ends StringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced
Filters (BoolEquals Advanced Filter | Is Not Null Advanced Filter | Is Null Or Undefined Advanced Filter | Number Greater Than Advanced Filter | Number Greater Than Or Equals Advanced Filter | Number In Advanced Filter | Number In Range Advanced Filter | Number Less Than Advanced Filter | Number Less Than Or Equals Advanced Filter | Number Not In Advanced Filter | Number Not In Range Advanced Filter | String Begins With Advanced Filter | String Contains Advanced Filter | String Ends With Advanced Filter | String In Advanced Filter | String Not Begins With Advanced Filter | String Not Contains Advanced Filter | String Not Ends With Advanced Filter | String Not In Advanced Filter)[] - An array of advanced filters that are used for filtering event subscriptions.
- enable
Advanced booleanFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included
Event string[]Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is
Subject booleanCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject
Begins stringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject
Ends stringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced_
filters Sequence[Union[BoolEquals Advanced Filter, Is Not Null Advanced Filter, Is Null Or Undefined Advanced Filter, Number Greater Than Advanced Filter, Number Greater Than Or Equals Advanced Filter, Number In Advanced Filter, Number In Range Advanced Filter, Number Less Than Advanced Filter, Number Less Than Or Equals Advanced Filter, Number Not In Advanced Filter, Number Not In Range Advanced Filter, String Begins With Advanced Filter, String Contains Advanced Filter, String Ends With Advanced Filter, String In Advanced Filter, String Not Begins With Advanced Filter, String Not Contains Advanced Filter, String Not Ends With Advanced Filter, String Not In Advanced Filter]] - An array of advanced filters that are used for filtering event subscriptions.
- enable_
advanced_ boolfiltering_ on_ arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included_
event_ Sequence[str]types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is_
subject_ boolcase_ sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject_
begins_ strwith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject_
ends_ strwith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced
Filters List<Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map> - An array of advanced filters that are used for filtering event subscriptions.
- enable
Advanced BooleanFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included
Event List<String>Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is
Subject BooleanCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject
Begins StringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject
Ends StringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
EventSubscriptionFilterResponse, EventSubscriptionFilterResponseArgs
- Advanced
Filters List<object> - An array of advanced filters that are used for filtering event subscriptions.
- Enable
Advanced boolFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- Included
Event List<string>Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- Is
Subject boolCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- Subject
Begins stringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- Subject
Ends stringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- Advanced
Filters []interface{} - An array of advanced filters that are used for filtering event subscriptions.
- Enable
Advanced boolFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- Included
Event []stringTypes - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- Is
Subject boolCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- Subject
Begins stringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- Subject
Ends stringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced
Filters List<Object> - An array of advanced filters that are used for filtering event subscriptions.
- enable
Advanced BooleanFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included
Event List<String>Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is
Subject BooleanCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject
Begins StringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject
Ends StringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced
Filters (BoolEquals Advanced Filter Response | Is Not Null Advanced Filter Response | Is Null Or Undefined Advanced Filter Response | Number Greater Than Advanced Filter Response | Number Greater Than Or Equals Advanced Filter Response | Number In Advanced Filter Response | Number In Range Advanced Filter Response | Number Less Than Advanced Filter Response | Number Less Than Or Equals Advanced Filter Response | Number Not In Advanced Filter Response | Number Not In Range Advanced Filter Response | String Begins With Advanced Filter Response | String Contains Advanced Filter Response | String Ends With Advanced Filter Response | String In Advanced Filter Response | String Not Begins With Advanced Filter Response | String Not Contains Advanced Filter Response | String Not Ends With Advanced Filter Response | String Not In Advanced Filter Response)[] - An array of advanced filters that are used for filtering event subscriptions.
- enable
Advanced booleanFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included
Event string[]Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is
Subject booleanCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject
Begins stringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject
Ends stringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced_
filters Sequence[Union[BoolEquals Advanced Filter Response, Is Not Null Advanced Filter Response, Is Null Or Undefined Advanced Filter Response, Number Greater Than Advanced Filter Response, Number Greater Than Or Equals Advanced Filter Response, Number In Advanced Filter Response, Number In Range Advanced Filter Response, Number Less Than Advanced Filter Response, Number Less Than Or Equals Advanced Filter Response, Number Not In Advanced Filter Response, Number Not In Range Advanced Filter Response, String Begins With Advanced Filter Response, String Contains Advanced Filter Response, String Ends With Advanced Filter Response, String In Advanced Filter Response, String Not Begins With Advanced Filter Response, String Not Contains Advanced Filter Response, String Not Ends With Advanced Filter Response, String Not In Advanced Filter Response]] - An array of advanced filters that are used for filtering event subscriptions.
- enable_
advanced_ boolfiltering_ on_ arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included_
event_ Sequence[str]types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is_
subject_ boolcase_ sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject_
begins_ strwith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject_
ends_ strwith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
- advanced
Filters List<Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map> - An array of advanced filters that are used for filtering event subscriptions.
- enable
Advanced BooleanFiltering On Arrays - Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.
- included
Event List<String>Types - A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.
- is
Subject BooleanCase Sensitive - Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter should be compared in a case sensitive manner.
- subject
Begins StringWith - An optional string to filter events for an event subscription based on a resource path prefix. The format of this depends on the publisher of the events. Wildcard characters are not supported in this path.
- subject
Ends StringWith - An optional string to filter events for an event subscription based on a resource path suffix. Wildcard characters are not supported in this path.
HybridConnectionEventSubscriptionDestination, HybridConnectionEventSubscriptionDestinationArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping>> - Delivery attribute details.
- Resource
Id string - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping,Static Delivery Attribute Mapping>> - Delivery attribute details.
- resource
Id String - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping | Static Delivery Attribute Mapping)[] - Delivery attribute details.
- resource
Id string - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping, Static Delivery Attribute Mapping]] - Delivery attribute details.
- resource_
id str - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
HybridConnectionEventSubscriptionDestinationResponse, HybridConnectionEventSubscriptionDestinationResponseArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- Resource
Id string - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- resource
Id String - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - Delivery attribute details.
- resource
Id string - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping Response, Static Delivery Attribute Mapping Response]] - Delivery attribute details.
- resource_
id str - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource ID of an hybrid connection that is the destination of an event subscription.
IsNotNullAdvancedFilter, IsNotNullAdvancedFilterArgs
- Key string
- The field/property in the event based on which you want to filter.
- Key string
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
- key string
- The field/property in the event based on which you want to filter.
- key str
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
IsNotNullAdvancedFilterResponse, IsNotNullAdvancedFilterResponseArgs
- Key string
- The field/property in the event based on which you want to filter.
- Key string
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
- key string
- The field/property in the event based on which you want to filter.
- key str
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
IsNullOrUndefinedAdvancedFilter, IsNullOrUndefinedAdvancedFilterArgs
- Key string
- The field/property in the event based on which you want to filter.
- Key string
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
- key string
- The field/property in the event based on which you want to filter.
- key str
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
IsNullOrUndefinedAdvancedFilterResponse, IsNullOrUndefinedAdvancedFilterResponseArgs
- Key string
- The field/property in the event based on which you want to filter.
- Key string
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
- key string
- The field/property in the event based on which you want to filter.
- key str
- The field/property in the event based on which you want to filter.
- key String
- The field/property in the event based on which you want to filter.
NumberGreaterThanAdvancedFilter, NumberGreaterThanAdvancedFilterArgs
NumberGreaterThanAdvancedFilterResponse, NumberGreaterThanAdvancedFilterResponseArgs
NumberGreaterThanOrEqualsAdvancedFilter, NumberGreaterThanOrEqualsAdvancedFilterArgs
NumberGreaterThanOrEqualsAdvancedFilterResponse, NumberGreaterThanOrEqualsAdvancedFilterResponseArgs
NumberInAdvancedFilter, NumberInAdvancedFilterArgs
NumberInAdvancedFilterResponse, NumberInAdvancedFilterResponseArgs
NumberInRangeAdvancedFilter, NumberInRangeAdvancedFilterArgs
NumberInRangeAdvancedFilterResponse, NumberInRangeAdvancedFilterResponseArgs
NumberLessThanAdvancedFilter, NumberLessThanAdvancedFilterArgs
NumberLessThanAdvancedFilterResponse, NumberLessThanAdvancedFilterResponseArgs
NumberLessThanOrEqualsAdvancedFilter, NumberLessThanOrEqualsAdvancedFilterArgs
NumberLessThanOrEqualsAdvancedFilterResponse, NumberLessThanOrEqualsAdvancedFilterResponseArgs
NumberNotInAdvancedFilter, NumberNotInAdvancedFilterArgs
NumberNotInAdvancedFilterResponse, NumberNotInAdvancedFilterResponseArgs
NumberNotInRangeAdvancedFilter, NumberNotInRangeAdvancedFilterArgs
NumberNotInRangeAdvancedFilterResponse, NumberNotInRangeAdvancedFilterResponseArgs
RetryPolicy, RetryPolicyArgs
- Event
Time intTo Live In Minutes - Time To Live (in minutes) for events.
- Max
Delivery intAttempts - Maximum number of delivery retry attempts for events.
- Event
Time intTo Live In Minutes - Time To Live (in minutes) for events.
- Max
Delivery intAttempts - Maximum number of delivery retry attempts for events.
- event
Time IntegerTo Live In Minutes - Time To Live (in minutes) for events.
- max
Delivery IntegerAttempts - Maximum number of delivery retry attempts for events.
- event
Time numberTo Live In Minutes - Time To Live (in minutes) for events.
- max
Delivery numberAttempts - Maximum number of delivery retry attempts for events.
- event_
time_ intto_ live_ in_ minutes - Time To Live (in minutes) for events.
- max_
delivery_ intattempts - Maximum number of delivery retry attempts for events.
- event
Time NumberTo Live In Minutes - Time To Live (in minutes) for events.
- max
Delivery NumberAttempts - Maximum number of delivery retry attempts for events.
RetryPolicyResponse, RetryPolicyResponseArgs
- Event
Time intTo Live In Minutes - Time To Live (in minutes) for events.
- Max
Delivery intAttempts - Maximum number of delivery retry attempts for events.
- Event
Time intTo Live In Minutes - Time To Live (in minutes) for events.
- Max
Delivery intAttempts - Maximum number of delivery retry attempts for events.
- event
Time IntegerTo Live In Minutes - Time To Live (in minutes) for events.
- max
Delivery IntegerAttempts - Maximum number of delivery retry attempts for events.
- event
Time numberTo Live In Minutes - Time To Live (in minutes) for events.
- max
Delivery numberAttempts - Maximum number of delivery retry attempts for events.
- event_
time_ intto_ live_ in_ minutes - Time To Live (in minutes) for events.
- max_
delivery_ intattempts - Maximum number of delivery retry attempts for events.
- event
Time NumberTo Live In Minutes - Time To Live (in minutes) for events.
- max
Delivery NumberAttempts - Maximum number of delivery retry attempts for events.
ServiceBusQueueEventSubscriptionDestination, ServiceBusQueueEventSubscriptionDestinationArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping>> - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping,Static Delivery Attribute Mapping>> - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping | Static Delivery Attribute Mapping)[] - Delivery attribute details.
- resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping, Static Delivery Attribute Mapping]] - Delivery attribute details.
- resource_
id str - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
ServiceBusQueueEventSubscriptionDestinationResponse, ServiceBusQueueEventSubscriptionDestinationResponseArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - Delivery attribute details.
- resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping Response, Static Delivery Attribute Mapping Response]] - Delivery attribute details.
- resource_
id str - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
ServiceBusTopicEventSubscriptionDestination, ServiceBusTopicEventSubscriptionDestinationArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping>> - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping,Static Delivery Attribute Mapping>> - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping | Static Delivery Attribute Mapping)[] - Delivery attribute details.
- resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping, Static Delivery Attribute Mapping]] - Delivery attribute details.
- resource_
id str - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
ServiceBusTopicEventSubscriptionDestinationResponse, ServiceBusTopicEventSubscriptionDestinationResponseArgs
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - Delivery attribute details.
- resource
Id string - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping Response, Static Delivery Attribute Mapping Response]] - Delivery attribute details.
- resource_
id str - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- resource
Id String - The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
StaticDeliveryAttributeMapping, StaticDeliveryAttributeMappingArgs
StaticDeliveryAttributeMappingResponse, StaticDeliveryAttributeMappingResponseArgs
StorageBlobDeadLetterDestination, StorageBlobDeadLetterDestinationArgs
- Blob
Container stringName - The name of the Storage blob container that is the destination of the deadletter events
- Resource
Id string - The Azure Resource ID of the storage account that is the destination of the deadletter events
- Blob
Container stringName - The name of the Storage blob container that is the destination of the deadletter events
- Resource
Id string - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob
Container StringName - The name of the Storage blob container that is the destination of the deadletter events
- resource
Id String - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob
Container stringName - The name of the Storage blob container that is the destination of the deadletter events
- resource
Id string - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob_
container_ strname - The name of the Storage blob container that is the destination of the deadletter events
- resource_
id str - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob
Container StringName - The name of the Storage blob container that is the destination of the deadletter events
- resource
Id String - The Azure Resource ID of the storage account that is the destination of the deadletter events
StorageBlobDeadLetterDestinationResponse, StorageBlobDeadLetterDestinationResponseArgs
- Blob
Container stringName - The name of the Storage blob container that is the destination of the deadletter events
- Resource
Id string - The Azure Resource ID of the storage account that is the destination of the deadletter events
- Blob
Container stringName - The name of the Storage blob container that is the destination of the deadletter events
- Resource
Id string - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob
Container StringName - The name of the Storage blob container that is the destination of the deadletter events
- resource
Id String - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob
Container stringName - The name of the Storage blob container that is the destination of the deadletter events
- resource
Id string - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob_
container_ strname - The name of the Storage blob container that is the destination of the deadletter events
- resource_
id str - The Azure Resource ID of the storage account that is the destination of the deadletter events
- blob
Container StringName - The name of the Storage blob container that is the destination of the deadletter events
- resource
Id String - The Azure Resource ID of the storage account that is the destination of the deadletter events
StorageQueueEventSubscriptionDestination, StorageQueueEventSubscriptionDestinationArgs
- Queue
Message doubleTime To Live In Seconds - Storage queue message time to live in seconds.
- Queue
Name string - The name of the Storage queue under a storage account that is the destination of an event subscription.
- Resource
Id string - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- Queue
Message float64Time To Live In Seconds - Storage queue message time to live in seconds.
- Queue
Name string - The name of the Storage queue under a storage account that is the destination of an event subscription.
- Resource
Id string - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue
Message DoubleTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name String - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource
Id String - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue
Message numberTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name string - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource
Id string - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue_
message_ floattime_ to_ live_ in_ seconds - Storage queue message time to live in seconds.
- queue_
name str - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource_
id str - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue
Message NumberTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name String - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource
Id String - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
StorageQueueEventSubscriptionDestinationResponse, StorageQueueEventSubscriptionDestinationResponseArgs
- Queue
Message doubleTime To Live In Seconds - Storage queue message time to live in seconds.
- Queue
Name string - The name of the Storage queue under a storage account that is the destination of an event subscription.
- Resource
Id string - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- Queue
Message float64Time To Live In Seconds - Storage queue message time to live in seconds.
- Queue
Name string - The name of the Storage queue under a storage account that is the destination of an event subscription.
- Resource
Id string - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue
Message DoubleTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name String - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource
Id String - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue
Message numberTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name string - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource
Id string - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue_
message_ floattime_ to_ live_ in_ seconds - Storage queue message time to live in seconds.
- queue_
name str - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource_
id str - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
- queue
Message NumberTime To Live In Seconds - Storage queue message time to live in seconds.
- queue
Name String - The name of the Storage queue under a storage account that is the destination of an event subscription.
- resource
Id String - The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
StringBeginsWithAdvancedFilter, StringBeginsWithAdvancedFilterArgs
StringBeginsWithAdvancedFilterResponse, StringBeginsWithAdvancedFilterResponseArgs
StringContainsAdvancedFilter, StringContainsAdvancedFilterArgs
StringContainsAdvancedFilterResponse, StringContainsAdvancedFilterResponseArgs
StringEndsWithAdvancedFilter, StringEndsWithAdvancedFilterArgs
StringEndsWithAdvancedFilterResponse, StringEndsWithAdvancedFilterResponseArgs
StringInAdvancedFilter, StringInAdvancedFilterArgs
StringInAdvancedFilterResponse, StringInAdvancedFilterResponseArgs
StringNotBeginsWithAdvancedFilter, StringNotBeginsWithAdvancedFilterArgs
StringNotBeginsWithAdvancedFilterResponse, StringNotBeginsWithAdvancedFilterResponseArgs
StringNotContainsAdvancedFilter, StringNotContainsAdvancedFilterArgs
StringNotContainsAdvancedFilterResponse, StringNotContainsAdvancedFilterResponseArgs
StringNotEndsWithAdvancedFilter, StringNotEndsWithAdvancedFilterArgs
StringNotEndsWithAdvancedFilterResponse, StringNotEndsWithAdvancedFilterResponseArgs
StringNotInAdvancedFilter, StringNotInAdvancedFilterArgs
StringNotInAdvancedFilterResponse, StringNotInAdvancedFilterResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
WebHookEventSubscriptionDestination, WebHookEventSubscriptionDestinationArgs
- Azure
Active stringDirectory Application 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.
- Azure
Active stringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping>> - Delivery attribute details.
- Endpoint
Url string - The URL that represents the endpoint of the destination of an event subscription.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Azure
Active stringDirectory Application 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.
- Azure
Active stringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Endpoint
Url string - The URL that represents the endpoint of the destination of an event subscription.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- azure
Active StringDirectory Application 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.
- azure
Active StringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping,Static Delivery Attribute Mapping>> - Delivery attribute details.
- endpoint
Url String - The URL that represents the endpoint of the destination of an event subscription.
- max
Events IntegerPer Batch - Maximum number of events per batch.
- preferred
Batch IntegerSize In Kilobytes - Preferred batch size in Kilobytes.
- azure
Active stringDirectory Application 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.
- azure
Active stringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping | Static Delivery Attribute Mapping)[] - Delivery attribute details.
- endpoint
Url string - The URL that represents the endpoint of the destination of an event subscription.
- max
Events numberPer Batch - Maximum number of events per batch.
- preferred
Batch numberSize In Kilobytes - Preferred batch size in Kilobytes.
- azure_
active_ strdirectory_ application_ 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.
- azure_
active_ strdirectory_ tenant_ id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping, Static Delivery Attribute Mapping]] - Delivery attribute details.
- endpoint_
url str - The URL that represents the endpoint of the destination of an event subscription.
- max_
events_ intper_ batch - Maximum number of events per batch.
- preferred_
batch_ intsize_ in_ kilobytes - Preferred batch size in Kilobytes.
- azure
Active StringDirectory Application 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.
- azure
Active StringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- endpoint
Url String - The URL that represents the endpoint of the destination of an event subscription.
- max
Events NumberPer Batch - Maximum number of events per batch.
- preferred
Batch NumberSize In Kilobytes - Preferred batch size in Kilobytes.
WebHookEventSubscriptionDestinationResponse, WebHookEventSubscriptionDestinationResponseArgs
- Endpoint
Base stringUrl - The base URL that represents the endpoint of the destination of an event subscription.
- Azure
Active stringDirectory Application 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.
- Azure
Active stringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- Delivery
Attribute List<Union<Pulumi.Mappings Azure Native. Event Grid. Inputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Inputs. Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- Endpoint
Url string - The URL that represents the endpoint of the destination of an event subscription.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- Endpoint
Base stringUrl - The base URL that represents the endpoint of the destination of an event subscription.
- Azure
Active stringDirectory Application 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.
- Azure
Active stringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- Delivery
Attribute []interface{}Mappings - Delivery attribute details.
- Endpoint
Url string - The URL that represents the endpoint of the destination of an event subscription.
- Max
Events intPer Batch - Maximum number of events per batch.
- Preferred
Batch intSize In Kilobytes - Preferred batch size in Kilobytes.
- endpoint
Base StringUrl - The base URL that represents the endpoint of the destination of an event subscription.
- azure
Active StringDirectory Application 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.
- azure
Active StringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery
Attribute List<Either<DynamicMappings Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - Delivery attribute details.
- endpoint
Url String - The URL that represents the endpoint of the destination of an event subscription.
- max
Events IntegerPer Batch - Maximum number of events per batch.
- preferred
Batch IntegerSize In Kilobytes - Preferred batch size in Kilobytes.
- endpoint
Base stringUrl - The base URL that represents the endpoint of the destination of an event subscription.
- azure
Active stringDirectory Application 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.
- azure
Active stringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery
Attribute (DynamicMappings Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - Delivery attribute details.
- endpoint
Url string - The URL that represents the endpoint of the destination of an event subscription.
- max
Events numberPer Batch - Maximum number of events per batch.
- preferred
Batch numberSize In Kilobytes - Preferred batch size in Kilobytes.
- endpoint_
base_ strurl - The base URL that represents the endpoint of the destination of an event subscription.
- azure_
active_ strdirectory_ application_ 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.
- azure_
active_ strdirectory_ tenant_ id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery_
attribute_ Sequence[Union[Dynamicmappings Delivery Attribute Mapping Response, Static Delivery Attribute Mapping Response]] - Delivery attribute details.
- endpoint_
url str - The URL that represents the endpoint of the destination of an event subscription.
- max_
events_ intper_ batch - Maximum number of events per batch.
- preferred_
batch_ intsize_ in_ kilobytes - Preferred batch size in Kilobytes.
- endpoint
Base StringUrl - The base URL that represents the endpoint of the destination of an event subscription.
- azure
Active StringDirectory Application 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.
- azure
Active StringDirectory Tenant Id - The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
- delivery
Attribute List<Property Map | Property Map>Mappings - Delivery attribute details.
- endpoint
Url String - The URL that represents the endpoint of the destination of an event subscription.
- max
Events NumberPer Batch - Maximum number of events per batch.
- preferred
Batch NumberSize In Kilobytes - Preferred batch size in Kilobytes.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:eventgrid:EventSubscription examplesubscription3 /subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0