1. Packages
  2. Azure Classic
  3. API Docs
  4. digitaltwins
  5. EndpointServicebus

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.digitaltwins.EndpointServicebus

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Digital Twins Service Bus Endpoint.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example_resources",
        location: "West Europe",
    });
    const exampleInstance = new azure.digitaltwins.Instance("example", {
        name: "example-DT",
        resourceGroupName: example.name,
        location: example.location,
    });
    const exampleNamespace = new azure.servicebus.Namespace("example", {
        name: "exampleservicebusnamespace",
        location: example.location,
        resourceGroupName: example.name,
        sku: "Standard",
    });
    const exampleTopic = new azure.servicebus.Topic("example", {
        name: "exampleservicebustopic",
        namespaceId: exampleNamespace.id,
    });
    const exampleTopicAuthorizationRule = new azure.servicebus.TopicAuthorizationRule("example", {
        name: "example-rule",
        topicId: exampleTopic.id,
        listen: false,
        send: true,
        manage: false,
    });
    const exampleEndpointServicebus = new azure.digitaltwins.EndpointServicebus("example", {
        name: "example-EndpointSB",
        digitalTwinsId: exampleInstance.id,
        servicebusPrimaryConnectionString: exampleTopicAuthorizationRule.primaryConnectionString,
        servicebusSecondaryConnectionString: exampleTopicAuthorizationRule.secondaryConnectionString,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example_resources",
        location="West Europe")
    example_instance = azure.digitaltwins.Instance("example",
        name="example-DT",
        resource_group_name=example.name,
        location=example.location)
    example_namespace = azure.servicebus.Namespace("example",
        name="exampleservicebusnamespace",
        location=example.location,
        resource_group_name=example.name,
        sku="Standard")
    example_topic = azure.servicebus.Topic("example",
        name="exampleservicebustopic",
        namespace_id=example_namespace.id)
    example_topic_authorization_rule = azure.servicebus.TopicAuthorizationRule("example",
        name="example-rule",
        topic_id=example_topic.id,
        listen=False,
        send=True,
        manage=False)
    example_endpoint_servicebus = azure.digitaltwins.EndpointServicebus("example",
        name="example-EndpointSB",
        digital_twins_id=example_instance.id,
        servicebus_primary_connection_string=example_topic_authorization_rule.primary_connection_string,
        servicebus_secondary_connection_string=example_topic_authorization_rule.secondary_connection_string)
    
    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/servicebus"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example_resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleInstance, err := digitaltwins.NewInstance(ctx, "example", &digitaltwins.InstanceArgs{
    			Name:              pulumi.String("example-DT"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		exampleNamespace, err := servicebus.NewNamespace(ctx, "example", &servicebus.NamespaceArgs{
    			Name:              pulumi.String("exampleservicebusnamespace"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku:               pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTopic, err := servicebus.NewTopic(ctx, "example", &servicebus.TopicArgs{
    			Name:        pulumi.String("exampleservicebustopic"),
    			NamespaceId: exampleNamespace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTopicAuthorizationRule, err := servicebus.NewTopicAuthorizationRule(ctx, "example", &servicebus.TopicAuthorizationRuleArgs{
    			Name:    pulumi.String("example-rule"),
    			TopicId: exampleTopic.ID(),
    			Listen:  pulumi.Bool(false),
    			Send:    pulumi.Bool(true),
    			Manage:  pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = digitaltwins.NewEndpointServicebus(ctx, "example", &digitaltwins.EndpointServicebusArgs{
    			Name:                                pulumi.String("example-EndpointSB"),
    			DigitalTwinsId:                      exampleInstance.ID(),
    			ServicebusPrimaryConnectionString:   exampleTopicAuthorizationRule.PrimaryConnectionString,
    			ServicebusSecondaryConnectionString: exampleTopicAuthorizationRule.SecondaryConnectionString,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example_resources",
            Location = "West Europe",
        });
    
        var exampleInstance = new Azure.DigitalTwins.Instance("example", new()
        {
            Name = "example-DT",
            ResourceGroupName = example.Name,
            Location = example.Location,
        });
    
        var exampleNamespace = new Azure.ServiceBus.Namespace("example", new()
        {
            Name = "exampleservicebusnamespace",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = "Standard",
        });
    
        var exampleTopic = new Azure.ServiceBus.Topic("example", new()
        {
            Name = "exampleservicebustopic",
            NamespaceId = exampleNamespace.Id,
        });
    
        var exampleTopicAuthorizationRule = new Azure.ServiceBus.TopicAuthorizationRule("example", new()
        {
            Name = "example-rule",
            TopicId = exampleTopic.Id,
            Listen = false,
            Send = true,
            Manage = false,
        });
    
        var exampleEndpointServicebus = new Azure.DigitalTwins.EndpointServicebus("example", new()
        {
            Name = "example-EndpointSB",
            DigitalTwinsId = exampleInstance.Id,
            ServicebusPrimaryConnectionString = exampleTopicAuthorizationRule.PrimaryConnectionString,
            ServicebusSecondaryConnectionString = exampleTopicAuthorizationRule.SecondaryConnectionString,
        });
    
    });
    
    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.servicebus.Namespace;
    import com.pulumi.azure.servicebus.NamespaceArgs;
    import com.pulumi.azure.servicebus.Topic;
    import com.pulumi.azure.servicebus.TopicArgs;
    import com.pulumi.azure.servicebus.TopicAuthorizationRule;
    import com.pulumi.azure.servicebus.TopicAuthorizationRuleArgs;
    import com.pulumi.azure.digitaltwins.EndpointServicebus;
    import com.pulumi.azure.digitaltwins.EndpointServicebusArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example_resources")
                .location("West Europe")
                .build());
    
            var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
                .name("example-DT")
                .resourceGroupName(example.name())
                .location(example.location())
                .build());
    
            var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()        
                .name("exampleservicebusnamespace")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku("Standard")
                .build());
    
            var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
                .name("exampleservicebustopic")
                .namespaceId(exampleNamespace.id())
                .build());
    
            var exampleTopicAuthorizationRule = new TopicAuthorizationRule("exampleTopicAuthorizationRule", TopicAuthorizationRuleArgs.builder()        
                .name("example-rule")
                .topicId(exampleTopic.id())
                .listen(false)
                .send(true)
                .manage(false)
                .build());
    
            var exampleEndpointServicebus = new EndpointServicebus("exampleEndpointServicebus", EndpointServicebusArgs.builder()        
                .name("example-EndpointSB")
                .digitalTwinsId(exampleInstance.id())
                .servicebusPrimaryConnectionString(exampleTopicAuthorizationRule.primaryConnectionString())
                .servicebusSecondaryConnectionString(exampleTopicAuthorizationRule.secondaryConnectionString())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example_resources
          location: West Europe
      exampleInstance:
        type: azure:digitaltwins:Instance
        name: example
        properties:
          name: example-DT
          resourceGroupName: ${example.name}
          location: ${example.location}
      exampleNamespace:
        type: azure:servicebus:Namespace
        name: example
        properties:
          name: exampleservicebusnamespace
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku: Standard
      exampleTopic:
        type: azure:servicebus:Topic
        name: example
        properties:
          name: exampleservicebustopic
          namespaceId: ${exampleNamespace.id}
      exampleTopicAuthorizationRule:
        type: azure:servicebus:TopicAuthorizationRule
        name: example
        properties:
          name: example-rule
          topicId: ${exampleTopic.id}
          listen: false
          send: true
          manage: false
      exampleEndpointServicebus:
        type: azure:digitaltwins:EndpointServicebus
        name: example
        properties:
          name: example-EndpointSB
          digitalTwinsId: ${exampleInstance.id}
          servicebusPrimaryConnectionString: ${exampleTopicAuthorizationRule.primaryConnectionString}
          servicebusSecondaryConnectionString: ${exampleTopicAuthorizationRule.secondaryConnectionString}
    

    Create EndpointServicebus Resource

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

    Constructor syntax

    new EndpointServicebus(name: string, args: EndpointServicebusArgs, opts?: CustomResourceOptions);
    @overload
    def EndpointServicebus(resource_name: str,
                           args: EndpointServicebusArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EndpointServicebus(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           digital_twins_id: Optional[str] = None,
                           servicebus_primary_connection_string: Optional[str] = None,
                           servicebus_secondary_connection_string: Optional[str] = None,
                           dead_letter_storage_secret: Optional[str] = None,
                           name: Optional[str] = None)
    func NewEndpointServicebus(ctx *Context, name string, args EndpointServicebusArgs, opts ...ResourceOption) (*EndpointServicebus, error)
    public EndpointServicebus(string name, EndpointServicebusArgs args, CustomResourceOptions? opts = null)
    public EndpointServicebus(String name, EndpointServicebusArgs args)
    public EndpointServicebus(String name, EndpointServicebusArgs args, CustomResourceOptions options)
    
    type: azure:digitaltwins:EndpointServicebus
    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 EndpointServicebusArgs
    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 EndpointServicebusArgs
    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 EndpointServicebusArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EndpointServicebusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EndpointServicebusArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var endpointServicebusResource = new Azure.DigitalTwins.EndpointServicebus("endpointServicebusResource", new()
    {
        DigitalTwinsId = "string",
        ServicebusPrimaryConnectionString = "string",
        ServicebusSecondaryConnectionString = "string",
        DeadLetterStorageSecret = "string",
        Name = "string",
    });
    
    example, err := digitaltwins.NewEndpointServicebus(ctx, "endpointServicebusResource", &digitaltwins.EndpointServicebusArgs{
    	DigitalTwinsId:                      pulumi.String("string"),
    	ServicebusPrimaryConnectionString:   pulumi.String("string"),
    	ServicebusSecondaryConnectionString: pulumi.String("string"),
    	DeadLetterStorageSecret:             pulumi.String("string"),
    	Name:                                pulumi.String("string"),
    })
    
    var endpointServicebusResource = new EndpointServicebus("endpointServicebusResource", EndpointServicebusArgs.builder()        
        .digitalTwinsId("string")
        .servicebusPrimaryConnectionString("string")
        .servicebusSecondaryConnectionString("string")
        .deadLetterStorageSecret("string")
        .name("string")
        .build());
    
    endpoint_servicebus_resource = azure.digitaltwins.EndpointServicebus("endpointServicebusResource",
        digital_twins_id="string",
        servicebus_primary_connection_string="string",
        servicebus_secondary_connection_string="string",
        dead_letter_storage_secret="string",
        name="string")
    
    const endpointServicebusResource = new azure.digitaltwins.EndpointServicebus("endpointServicebusResource", {
        digitalTwinsId: "string",
        servicebusPrimaryConnectionString: "string",
        servicebusSecondaryConnectionString: "string",
        deadLetterStorageSecret: "string",
        name: "string",
    });
    
    type: azure:digitaltwins:EndpointServicebus
    properties:
        deadLetterStorageSecret: string
        digitalTwinsId: string
        name: string
        servicebusPrimaryConnectionString: string
        servicebusSecondaryConnectionString: string
    

    EndpointServicebus 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 EndpointServicebus resource accepts the following input properties:

    DigitalTwinsId string
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    ServicebusPrimaryConnectionString string
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    ServicebusSecondaryConnectionString string
    The secondary connection string of the Service Bus Topic 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 Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    DigitalTwinsId string
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    ServicebusPrimaryConnectionString string
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    ServicebusSecondaryConnectionString string
    The secondary connection string of the Service Bus Topic 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 Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    digitalTwinsId String
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebusPrimaryConnectionString String
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebusSecondaryConnectionString String
    The secondary connection string of the Service Bus Topic 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 Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    digitalTwinsId string
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebusPrimaryConnectionString string
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebusSecondaryConnectionString string
    The secondary connection string of the Service Bus Topic 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 Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    digital_twins_id str
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebus_primary_connection_string str
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebus_secondary_connection_string str
    The secondary connection string of the Service Bus Topic 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 Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    digitalTwinsId String
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebusPrimaryConnectionString String
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebusSecondaryConnectionString String
    The secondary connection string of the Service Bus Topic 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 Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.

    Outputs

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

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

    Look up Existing EndpointServicebus Resource

    Get an existing EndpointServicebus 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?: EndpointServicebusState, opts?: CustomResourceOptions): EndpointServicebus
    @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,
            name: Optional[str] = None,
            servicebus_primary_connection_string: Optional[str] = None,
            servicebus_secondary_connection_string: Optional[str] = None) -> EndpointServicebus
    func GetEndpointServicebus(ctx *Context, name string, id IDInput, state *EndpointServicebusState, opts ...ResourceOption) (*EndpointServicebus, error)
    public static EndpointServicebus Get(string name, Input<string> id, EndpointServicebusState? state, CustomResourceOptions? opts = null)
    public static EndpointServicebus get(String name, Output<String> id, EndpointServicebusState 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 ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    Name string
    The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    ServicebusPrimaryConnectionString string
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    ServicebusSecondaryConnectionString string
    The secondary connection string of the Service Bus Topic 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.
    DigitalTwinsId string
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    Name string
    The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    ServicebusPrimaryConnectionString string
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    ServicebusSecondaryConnectionString string
    The secondary connection string of the Service Bus Topic 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.
    digitalTwinsId String
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    name String
    The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebusPrimaryConnectionString String
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebusSecondaryConnectionString String
    The secondary connection string of the Service Bus Topic 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.
    digitalTwinsId string
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    name string
    The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebusPrimaryConnectionString string
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebusSecondaryConnectionString string
    The secondary connection string of the Service Bus Topic 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.
    digital_twins_id str
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    name str
    The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebus_primary_connection_string str
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebus_secondary_connection_string str
    The secondary connection string of the Service Bus Topic 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.
    digitalTwinsId String
    The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    name String
    The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
    servicebusPrimaryConnectionString String
    The primary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission. .
    servicebusSecondaryConnectionString String
    The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of send permission.

    Import

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

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

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

    Package Details

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

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi