mirror of https://github.com/pulumi/pulumi.git
21 lines
507 B
C#
21 lines
507 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Pulumi;
|
|
using AzureNative = Pulumi.AzureNative;
|
|
|
|
return await Deployment.RunAsync(() =>
|
|
{
|
|
var example = new AzureNative.EventGrid.EventSubscription("example", new()
|
|
{
|
|
Destination = new AzureNative.EventGrid.Inputs.EventHubEventSubscriptionDestinationArgs
|
|
{
|
|
EndpointType = "EventHub",
|
|
ResourceId = "example",
|
|
},
|
|
ExpirationTimeUtc = "example",
|
|
Scope = "example",
|
|
});
|
|
|
|
});
|
|
|