Azure Classic

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

EndpointServicebusQueue

Manages an IotHub ServiceBus Queue Endpoint

NOTE: Endpoints can be defined either directly on the azure.iot.IoTHub resource, or using the azurerm_iothub_endpoint_* resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a azurerm_iothub_endpoint_* resource and another endpoint of a different type directly on the azure.iot.IoTHub resource is not supported.

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 exampleNamespace = new Azure.ServiceBus.Namespace("exampleNamespace", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "Standard",
    });

    var exampleQueue = new Azure.ServiceBus.Queue("exampleQueue", new()
    {
        NamespaceId = exampleNamespace.Id,
        EnablePartitioning = true,
    });

    var exampleQueueAuthorizationRule = new Azure.ServiceBus.QueueAuthorizationRule("exampleQueueAuthorizationRule", new()
    {
        QueueId = exampleQueue.Id,
        Listen = false,
        Send = true,
        Manage = false,
    });

    var exampleIoTHub = new Azure.Iot.IoTHub("exampleIoTHub", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
        Sku = new Azure.Iot.Inputs.IoTHubSkuArgs
        {
            Name = "B1",
            Capacity = 1,
        },
        Tags = 
        {
            { "purpose", "example" },
        },
    });

    var exampleEndpointServicebusQueue = new Azure.Iot.EndpointServicebusQueue("exampleEndpointServicebusQueue", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        IothubId = exampleIoTHub.Id,
        ConnectionString = exampleQueueAuthorizationRule.PrimaryConnectionString,
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/iot"
	"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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
		})
		if err != nil {
			return err
		}
		exampleQueue, err := servicebus.NewQueue(ctx, "exampleQueue", &servicebus.QueueArgs{
			NamespaceId:        exampleNamespace.ID(),
			EnablePartitioning: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleQueueAuthorizationRule, err := servicebus.NewQueueAuthorizationRule(ctx, "exampleQueueAuthorizationRule", &servicebus.QueueAuthorizationRuleArgs{
			QueueId: exampleQueue.ID(),
			Listen:  pulumi.Bool(false),
			Send:    pulumi.Bool(true),
			Manage:  pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			Sku: &iot.IoTHubSkuArgs{
				Name:     pulumi.String("B1"),
				Capacity: pulumi.Int(1),
			},
			Tags: pulumi.StringMap{
				"purpose": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		_, err = iot.NewEndpointServicebusQueue(ctx, "exampleEndpointServicebusQueue", &iot.EndpointServicebusQueueArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			IothubId:          exampleIoTHub.ID(),
			ConnectionString:  exampleQueueAuthorizationRule.PrimaryConnectionString,
		})
		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.servicebus.Namespace;
import com.pulumi.azure.servicebus.NamespaceArgs;
import com.pulumi.azure.servicebus.Queue;
import com.pulumi.azure.servicebus.QueueArgs;
import com.pulumi.azure.servicebus.QueueAuthorizationRule;
import com.pulumi.azure.servicebus.QueueAuthorizationRuleArgs;
import com.pulumi.azure.iot.IoTHub;
import com.pulumi.azure.iot.IoTHubArgs;
import com.pulumi.azure.iot.inputs.IoTHubSkuArgs;
import com.pulumi.azure.iot.EndpointServicebusQueue;
import com.pulumi.azure.iot.EndpointServicebusQueueArgs;
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 exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .sku("Standard")
            .build());

        var exampleQueue = new Queue("exampleQueue", QueueArgs.builder()        
            .namespaceId(exampleNamespace.id())
            .enablePartitioning(true)
            .build());

        var exampleQueueAuthorizationRule = new QueueAuthorizationRule("exampleQueueAuthorizationRule", QueueAuthorizationRuleArgs.builder()        
            .queueId(exampleQueue.id())
            .listen(false)
            .send(true)
            .manage(false)
            .build());

        var exampleIoTHub = new IoTHub("exampleIoTHub", IoTHubArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .location(exampleResourceGroup.location())
            .sku(IoTHubSkuArgs.builder()
                .name("B1")
                .capacity("1")
                .build())
            .tags(Map.of("purpose", "example"))
            .build());

        var exampleEndpointServicebusQueue = new EndpointServicebusQueue("exampleEndpointServicebusQueue", EndpointServicebusQueueArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .iothubId(exampleIoTHub.id())
            .connectionString(exampleQueueAuthorizationRule.primaryConnectionString())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_namespace = azure.servicebus.Namespace("exampleNamespace",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    sku="Standard")
example_queue = azure.servicebus.Queue("exampleQueue",
    namespace_id=example_namespace.id,
    enable_partitioning=True)
example_queue_authorization_rule = azure.servicebus.QueueAuthorizationRule("exampleQueueAuthorizationRule",
    queue_id=example_queue.id,
    listen=False,
    send=True,
    manage=False)
example_io_t_hub = azure.iot.IoTHub("exampleIoTHub",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location,
    sku=azure.iot.IoTHubSkuArgs(
        name="B1",
        capacity=1,
    ),
    tags={
        "purpose": "example",
    })
example_endpoint_servicebus_queue = azure.iot.EndpointServicebusQueue("exampleEndpointServicebusQueue",
    resource_group_name=example_resource_group.name,
    iothub_id=example_io_t_hub.id,
    connection_string=example_queue_authorization_rule.primary_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 exampleNamespace = new azure.servicebus.Namespace("exampleNamespace", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    sku: "Standard",
});
const exampleQueue = new azure.servicebus.Queue("exampleQueue", {
    namespaceId: exampleNamespace.id,
    enablePartitioning: true,
});
const exampleQueueAuthorizationRule = new azure.servicebus.QueueAuthorizationRule("exampleQueueAuthorizationRule", {
    queueId: exampleQueue.id,
    listen: false,
    send: true,
    manage: false,
});
const exampleIoTHub = new azure.iot.IoTHub("exampleIoTHub", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
    sku: {
        name: "B1",
        capacity: 1,
    },
    tags: {
        purpose: "example",
    },
});
const exampleEndpointServicebusQueue = new azure.iot.EndpointServicebusQueue("exampleEndpointServicebusQueue", {
    resourceGroupName: exampleResourceGroup.name,
    iothubId: exampleIoTHub.id,
    connectionString: exampleQueueAuthorizationRule.primaryConnectionString,
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleNamespace:
    type: azure:servicebus:Namespace
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      sku: Standard
  exampleQueue:
    type: azure:servicebus:Queue
    properties:
      namespaceId: ${exampleNamespace.id}
      enablePartitioning: true
  exampleQueueAuthorizationRule:
    type: azure:servicebus:QueueAuthorizationRule
    properties:
      queueId: ${exampleQueue.id}
      listen: false
      send: true
      manage: false
  exampleIoTHub:
    type: azure:iot:IoTHub
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}
      sku:
        name: B1
        capacity: 1
      tags:
        purpose: example
  exampleEndpointServicebusQueue:
    type: azure:iot:EndpointServicebusQueue
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      iothubId: ${exampleIoTHub.id}
      connectionString: ${exampleQueueAuthorizationRule.primaryConnectionString}

Create a EndpointServicebusQueue Resource

new EndpointServicebusQueue(name: string, args: EndpointServicebusQueueArgs, opts?: CustomResourceOptions);
@overload
def EndpointServicebusQueue(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            authentication_type: Optional[str] = None,
                            connection_string: Optional[str] = None,
                            endpoint_uri: Optional[str] = None,
                            entity_path: Optional[str] = None,
                            identity_id: Optional[str] = None,
                            iothub_id: Optional[str] = None,
                            name: Optional[str] = None,
                            resource_group_name: Optional[str] = None)
@overload
def EndpointServicebusQueue(resource_name: str,
                            args: EndpointServicebusQueueArgs,
                            opts: Optional[ResourceOptions] = None)
func NewEndpointServicebusQueue(ctx *Context, name string, args EndpointServicebusQueueArgs, opts ...ResourceOption) (*EndpointServicebusQueue, error)
public EndpointServicebusQueue(string name, EndpointServicebusQueueArgs args, CustomResourceOptions? opts = null)
public EndpointServicebusQueue(String name, EndpointServicebusQueueArgs args)
public EndpointServicebusQueue(String name, EndpointServicebusQueueArgs args, CustomResourceOptions options)
type: azure:iot:EndpointServicebusQueue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

IothubId string

The IoTHub ID for the endpoint.

ResourceGroupName string

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

AuthenticationType string

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

ConnectionString string

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

EndpointUri string

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

EntityPath string

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

IdentityId string

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

Name string

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

IothubId string

The IoTHub ID for the endpoint.

ResourceGroupName string

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

AuthenticationType string

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

ConnectionString string

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

EndpointUri string

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

EntityPath string

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

IdentityId string

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

Name string

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

iothubId String

The IoTHub ID for the endpoint.

resourceGroupName String

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authenticationType String

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connectionString String

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpointUri String

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entityPath String

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identityId String

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

name String

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

iothubId string

The IoTHub ID for the endpoint.

resourceGroupName string

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authenticationType string

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connectionString string

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpointUri string

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entityPath string

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identityId string

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

name string

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

iothub_id str

The IoTHub ID for the endpoint.

resource_group_name str

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authentication_type str

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connection_string str

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpoint_uri str

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entity_path str

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identity_id str

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

name str

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

iothubId String

The IoTHub ID for the endpoint.

resourceGroupName String

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authenticationType String

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connectionString String

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpointUri String

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entityPath String

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identityId String

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

name String

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

Outputs

All input properties are implicitly available as output properties. Additionally, the EndpointServicebusQueue 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 EndpointServicebusQueue Resource

Get an existing EndpointServicebusQueue 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?: EndpointServicebusQueueState, opts?: CustomResourceOptions): EndpointServicebusQueue
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication_type: Optional[str] = None,
        connection_string: Optional[str] = None,
        endpoint_uri: Optional[str] = None,
        entity_path: Optional[str] = None,
        identity_id: Optional[str] = None,
        iothub_id: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None) -> EndpointServicebusQueue
func GetEndpointServicebusQueue(ctx *Context, name string, id IDInput, state *EndpointServicebusQueueState, opts ...ResourceOption) (*EndpointServicebusQueue, error)
public static EndpointServicebusQueue Get(string name, Input<string> id, EndpointServicebusQueueState? state, CustomResourceOptions? opts = null)
public static EndpointServicebusQueue get(String name, Output<String> id, EndpointServicebusQueueState 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:
AuthenticationType string

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

ConnectionString string

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

EndpointUri string

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

EntityPath string

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

IdentityId string

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

IothubId string

The IoTHub ID for the endpoint.

Name string

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

ResourceGroupName string

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

AuthenticationType string

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

ConnectionString string

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

EndpointUri string

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

EntityPath string

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

IdentityId string

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

IothubId string

The IoTHub ID for the endpoint.

Name string

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

ResourceGroupName string

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authenticationType String

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connectionString String

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpointUri String

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entityPath String

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identityId String

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

iothubId String

The IoTHub ID for the endpoint.

name String

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

resourceGroupName String

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authenticationType string

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connectionString string

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpointUri string

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entityPath string

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identityId string

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

iothubId string

The IoTHub ID for the endpoint.

name string

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

resourceGroupName string

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authentication_type str

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connection_string str

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpoint_uri str

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entity_path str

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identity_id str

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

iothub_id str

The IoTHub ID for the endpoint.

name str

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

resource_group_name str

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

authenticationType String

Type used to authenticate against the Service Bus Queue endpoint. Possible values are keyBased and identityBased. Defaults to keyBased.

connectionString String

The connection string for the endpoint. This attribute can only be specified and is mandatory when authentication_type is keyBased.

endpointUri String

URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when authentication_type is identityBased.

entityPath String

Name of the Service Bus Queue. This attribute can only be specified and is mandatory when authentication_type is identityBased.

identityId String

ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.

iothubId String

The IoTHub ID for the endpoint.

name String

The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: events, operationsMonitoringEvents, fileNotifications and $default.

resourceGroupName String

The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.

Import

IoTHub ServiceBus Queue Endpoint can be imported using the resource id, e.g.

 $ pulumi import azure:iot/endpointServicebusQueue:EndpointServicebusQueue servicebus_queue1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Endpoints/servicebusqueue_endpoint1

Package Details

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

This Pulumi package is based on the azurerm Terraform Provider.