Azure Classic

v5.19.0 published on Friday, Sep 16, 2022 by Pulumi

EndpointEventHub

Manages a Digital Twins Event Hub Endpoint.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleInstance = new Azure.DigitalTwins.Instance("exampleInstance", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
    });

    var exampleEventHubNamespace = new Azure.EventHub.EventHubNamespace("exampleEventHubNamespace", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "Standard",
    });

    var exampleEventHub = new Azure.EventHub.EventHub("exampleEventHub", new()
    {
        NamespaceName = exampleEventHubNamespace.Name,
        ResourceGroupName = exampleResourceGroup.Name,
        PartitionCount = 2,
        MessageRetention = 1,
    });

    var exampleAuthorizationRule = new Azure.EventHub.AuthorizationRule("exampleAuthorizationRule", new()
    {
        NamespaceName = exampleEventHubNamespace.Name,
        EventhubName = exampleEventHub.Name,
        ResourceGroupName = exampleResourceGroup.Name,
        Listen = false,
        Send = true,
        Manage = false,
    });

    var exampleEndpointEventHub = new Azure.DigitalTwins.EndpointEventHub("exampleEndpointEventHub", new()
    {
        DigitalTwinsId = exampleInstance.Id,
        EventhubPrimaryConnectionString = exampleAuthorizationRule.PrimaryConnectionString,
        EventhubSecondaryConnectionString = exampleAuthorizationRule.SecondaryConnectionString,
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/digitaltwins"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventhub"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInstance, err := digitaltwins.NewInstance(ctx, "exampleInstance", &digitaltwins.InstanceArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
		})
		if err != nil {
			return err
		}
		exampleEventHub, err := eventhub.NewEventHub(ctx, "exampleEventHub", &eventhub.EventHubArgs{
			NamespaceName:     exampleEventHubNamespace.Name,
			ResourceGroupName: exampleResourceGroup.Name,
			PartitionCount:    pulumi.Int(2),
			MessageRetention:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "exampleAuthorizationRule", &eventhub.AuthorizationRuleArgs{
			NamespaceName:     exampleEventHubNamespace.Name,
			EventhubName:      exampleEventHub.Name,
			ResourceGroupName: exampleResourceGroup.Name,
			Listen:            pulumi.Bool(false),
			Send:              pulumi.Bool(true),
			Manage:            pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = digitaltwins.NewEndpointEventHub(ctx, "exampleEndpointEventHub", &digitaltwins.EndpointEventHubArgs{
			DigitalTwinsId:                    exampleInstance.ID(),
			EventhubPrimaryConnectionString:   exampleAuthorizationRule.PrimaryConnectionString,
			EventhubSecondaryConnectionString: exampleAuthorizationRule.SecondaryConnectionString,
		})
		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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.digitaltwins.Instance;
import com.pulumi.azure.digitaltwins.InstanceArgs;
import com.pulumi.azure.eventhub.EventHubNamespace;
import com.pulumi.azure.eventhub.EventHubNamespaceArgs;
import com.pulumi.azure.eventhub.EventHub;
import com.pulumi.azure.eventhub.EventHubArgs;
import com.pulumi.azure.eventhub.AuthorizationRule;
import com.pulumi.azure.eventhub.AuthorizationRuleArgs;
import com.pulumi.azure.digitaltwins.EndpointEventHub;
import com.pulumi.azure.digitaltwins.EndpointEventHubArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .location(exampleResourceGroup.location())
            .build());

        var exampleEventHubNamespace = new EventHubNamespace("exampleEventHubNamespace", EventHubNamespaceArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .sku("Standard")
            .build());

        var exampleEventHub = new EventHub("exampleEventHub", EventHubArgs.builder()        
            .namespaceName(exampleEventHubNamespace.name())
            .resourceGroupName(exampleResourceGroup.name())
            .partitionCount(2)
            .messageRetention(1)
            .build());

        var exampleAuthorizationRule = new AuthorizationRule("exampleAuthorizationRule", AuthorizationRuleArgs.builder()        
            .namespaceName(exampleEventHubNamespace.name())
            .eventhubName(exampleEventHub.name())
            .resourceGroupName(exampleResourceGroup.name())
            .listen(false)
            .send(true)
            .manage(false)
            .build());

        var exampleEndpointEventHub = new EndpointEventHub("exampleEndpointEventHub", EndpointEventHubArgs.builder()        
            .digitalTwinsId(exampleInstance.id())
            .eventhubPrimaryConnectionString(exampleAuthorizationRule.primaryConnectionString())
            .eventhubSecondaryConnectionString(exampleAuthorizationRule.secondaryConnectionString())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_instance = azure.digitaltwins.Instance("exampleInstance",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location)
example_event_hub_namespace = azure.eventhub.EventHubNamespace("exampleEventHubNamespace",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    sku="Standard")
example_event_hub = azure.eventhub.EventHub("exampleEventHub",
    namespace_name=example_event_hub_namespace.name,
    resource_group_name=example_resource_group.name,
    partition_count=2,
    message_retention=1)
example_authorization_rule = azure.eventhub.AuthorizationRule("exampleAuthorizationRule",
    namespace_name=example_event_hub_namespace.name,
    eventhub_name=example_event_hub.name,
    resource_group_name=example_resource_group.name,
    listen=False,
    send=True,
    manage=False)
example_endpoint_event_hub = azure.digitaltwins.EndpointEventHub("exampleEndpointEventHub",
    digital_twins_id=example_instance.id,
    eventhub_primary_connection_string=example_authorization_rule.primary_connection_string,
    eventhub_secondary_connection_string=example_authorization_rule.secondary_connection_string)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleInstance = new azure.digitaltwins.Instance("exampleInstance", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
});
const exampleEventHubNamespace = new azure.eventhub.EventHubNamespace("exampleEventHubNamespace", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    sku: "Standard",
});
const exampleEventHub = new azure.eventhub.EventHub("exampleEventHub", {
    namespaceName: exampleEventHubNamespace.name,
    resourceGroupName: exampleResourceGroup.name,
    partitionCount: 2,
    messageRetention: 1,
});
const exampleAuthorizationRule = new azure.eventhub.AuthorizationRule("exampleAuthorizationRule", {
    namespaceName: exampleEventHubNamespace.name,
    eventhubName: exampleEventHub.name,
    resourceGroupName: exampleResourceGroup.name,
    listen: false,
    send: true,
    manage: false,
});
const exampleEndpointEventHub = new azure.digitaltwins.EndpointEventHub("exampleEndpointEventHub", {
    digitalTwinsId: exampleInstance.id,
    eventhubPrimaryConnectionString: exampleAuthorizationRule.primaryConnectionString,
    eventhubSecondaryConnectionString: exampleAuthorizationRule.secondaryConnectionString,
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleInstance:
    type: azure:digitaltwins:Instance
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}
  exampleEventHubNamespace:
    type: azure:eventhub:EventHubNamespace
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      sku: Standard
  exampleEventHub:
    type: azure:eventhub:EventHub
    properties:
      namespaceName: ${exampleEventHubNamespace.name}
      resourceGroupName: ${exampleResourceGroup.name}
      partitionCount: 2
      messageRetention: 1
  exampleAuthorizationRule:
    type: azure:eventhub:AuthorizationRule
    properties:
      namespaceName: ${exampleEventHubNamespace.name}
      eventhubName: ${exampleEventHub.name}
      resourceGroupName: ${exampleResourceGroup.name}
      listen: false
      send: true
      manage: false
  exampleEndpointEventHub:
    type: azure:digitaltwins:EndpointEventHub
    properties:
      digitalTwinsId: ${exampleInstance.id}
      eventhubPrimaryConnectionString: ${exampleAuthorizationRule.primaryConnectionString}
      eventhubSecondaryConnectionString: ${exampleAuthorizationRule.secondaryConnectionString}

Create a EndpointEventHub Resource

new EndpointEventHub(name: string, args: EndpointEventHubArgs, opts?: CustomResourceOptions);
@overload
def EndpointEventHub(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     dead_letter_storage_secret: Optional[str] = None,
                     digital_twins_id: Optional[str] = None,
                     eventhub_primary_connection_string: Optional[str] = None,
                     eventhub_secondary_connection_string: Optional[str] = None,
                     name: Optional[str] = None)
@overload
def EndpointEventHub(resource_name: str,
                     args: EndpointEventHubArgs,
                     opts: Optional[ResourceOptions] = None)
func NewEndpointEventHub(ctx *Context, name string, args EndpointEventHubArgs, opts ...ResourceOption) (*EndpointEventHub, error)
public EndpointEventHub(string name, EndpointEventHubArgs args, CustomResourceOptions? opts = null)
public EndpointEventHub(String name, EndpointEventHubArgs args)
public EndpointEventHub(String name, EndpointEventHubArgs args, CustomResourceOptions options)
type: azure:digitaltwins:EndpointEventHub
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EndpointEventHubArgs
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 EndpointEventHubArgs
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 EndpointEventHubArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EndpointEventHubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EndpointEventHubArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EndpointEventHub Resource Properties

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

Inputs

The EndpointEventHub resource accepts the following input properties:

DigitalTwinsId string

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

EventhubPrimaryConnectionString string

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

EventhubSecondaryConnectionString string

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

DeadLetterStorageSecret string

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

Name string

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

DigitalTwinsId string

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

EventhubPrimaryConnectionString string

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

EventhubSecondaryConnectionString string

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

DeadLetterStorageSecret string

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

Name string

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

digitalTwinsId String

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhubPrimaryConnectionString String

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhubSecondaryConnectionString String

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

deadLetterStorageSecret String

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

name String

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

digitalTwinsId string

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhubPrimaryConnectionString string

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhubSecondaryConnectionString string

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

deadLetterStorageSecret string

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

name string

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

digital_twins_id str

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhub_primary_connection_string str

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhub_secondary_connection_string str

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

dead_letter_storage_secret str

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

name str

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

digitalTwinsId String

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhubPrimaryConnectionString String

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhubSecondaryConnectionString String

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

deadLetterStorageSecret String

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

name String

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing EndpointEventHub Resource

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

public static get(name: string, id: Input<ID>, state?: EndpointEventHubState, opts?: CustomResourceOptions): EndpointEventHub
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dead_letter_storage_secret: Optional[str] = None,
        digital_twins_id: Optional[str] = None,
        eventhub_primary_connection_string: Optional[str] = None,
        eventhub_secondary_connection_string: Optional[str] = None,
        name: Optional[str] = None) -> EndpointEventHub
func GetEndpointEventHub(ctx *Context, name string, id IDInput, state *EndpointEventHubState, opts ...ResourceOption) (*EndpointEventHub, error)
public static EndpointEventHub Get(string name, Input<string> id, EndpointEventHubState? state, CustomResourceOptions? opts = null)
public static EndpointEventHub get(String name, Output<String> id, EndpointEventHubState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DeadLetterStorageSecret string

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

DigitalTwinsId string

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

EventhubPrimaryConnectionString string

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

EventhubSecondaryConnectionString string

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

Name string

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

DeadLetterStorageSecret string

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

DigitalTwinsId string

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

EventhubPrimaryConnectionString string

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

EventhubSecondaryConnectionString string

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

Name string

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

deadLetterStorageSecret String

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

digitalTwinsId String

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhubPrimaryConnectionString String

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhubSecondaryConnectionString String

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

name String

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

deadLetterStorageSecret string

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

digitalTwinsId string

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhubPrimaryConnectionString string

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhubSecondaryConnectionString string

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

name string

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

dead_letter_storage_secret str

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

digital_twins_id str

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhub_primary_connection_string str

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhub_secondary_connection_string str

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

name str

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

deadLetterStorageSecret String

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

digitalTwinsId String

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

eventhubPrimaryConnectionString String

The primary connection string of the Event Hub Authorization Rule with a minimum of send permission.

eventhubSecondaryConnectionString String

The secondary connection string of the Event Hub Authorization Rule with a minimum of send permission.

name String

The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created.

Import

Digital Twins Eventhub Endpoints can be imported using the resource id, e.g.

 $ pulumi import azure:digitaltwins/endpointEventHub:EndpointEventHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1/endpoints/ep1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.