We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a ServiceBus Namespace.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleNamespace = new Azure.ServiceBus.Namespace("exampleNamespace", new Azure.ServiceBus.NamespaceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Sku = "Standard",
Tags =
{
{ "source", "example" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/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
}
_, err = servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
Sku: pulumi.String("Standard"),
Tags: pulumi.StringMap{
"source": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
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",
tags: {
source: "example",
},
});
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",
tags={
"source": "example",
})
Example coming soon!
Create Namespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Namespace(name: string, args: NamespaceArgs, opts?: CustomResourceOptions);@overload
def Namespace(resource_name: str,
args: NamespaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Namespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[str] = None,
capacity: Optional[int] = None,
identity: Optional[NamespaceIdentityArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
zone_redundant: Optional[bool] = None)func NewNamespace(ctx *Context, name string, args NamespaceArgs, opts ...ResourceOption) (*Namespace, error)public Namespace(string name, NamespaceArgs args, CustomResourceOptions? opts = null)
public Namespace(String name, NamespaceArgs args)
public Namespace(String name, NamespaceArgs args, CustomResourceOptions options)
type: azure:servicebus:Namespace
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 NamespaceArgs
- 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 NamespaceArgs
- 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 NamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceArgs
- 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 examplenamespaceResourceResourceFromServicebusnamespace = new Azure.ServiceBus.Namespace("examplenamespaceResourceResourceFromServicebusnamespace", new()
{
ResourceGroupName = "string",
Sku = "string",
Capacity = 0,
Identity = new Azure.ServiceBus.Inputs.NamespaceIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
ZoneRedundant = false,
});
example, err := servicebus.NewNamespace(ctx, "examplenamespaceResourceResourceFromServicebusnamespace", &servicebus.NamespaceArgs{
ResourceGroupName: pulumi.String("string"),
Sku: pulumi.String("string"),
Capacity: pulumi.Int(0),
Identity: &servicebus.NamespaceIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ZoneRedundant: pulumi.Bool(false),
})
var examplenamespaceResourceResourceFromServicebusnamespace = new com.pulumi.azure.servicebus.Namespace("examplenamespaceResourceResourceFromServicebusnamespace", com.pulumi.azure.servicebus.NamespaceArgs.builder()
.resourceGroupName("string")
.sku("string")
.capacity(0)
.identity(NamespaceIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.zoneRedundant(false)
.build());
examplenamespace_resource_resource_from_servicebusnamespace = azure.servicebus.Namespace("examplenamespaceResourceResourceFromServicebusnamespace",
resource_group_name="string",
sku="string",
capacity=0,
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
location="string",
name="string",
tags={
"string": "string",
},
zone_redundant=False)
const examplenamespaceResourceResourceFromServicebusnamespace = new azure.servicebus.Namespace("examplenamespaceResourceResourceFromServicebusnamespace", {
resourceGroupName: "string",
sku: "string",
capacity: 0,
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
location: "string",
name: "string",
tags: {
string: "string",
},
zoneRedundant: false,
});
type: azure:servicebus:Namespace
properties:
capacity: 0
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
location: string
name: string
resourceGroupName: string
sku: string
tags:
string: string
zoneRedundant: false
Namespace 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 Namespace resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group in which to create the namespace.
- Sku string
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- Capacity int
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - Identity
Namespace
Identity - An
identityblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Zone
Redundant bool - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- Resource
Group stringName - The name of the resource group in which to create the namespace.
- Sku string
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- Capacity int
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - Identity
Namespace
Identity Args - An
identityblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- Zone
Redundant bool - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- resource
Group StringName - The name of the resource group in which to create the namespace.
- sku String
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- capacity Integer
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - identity
Namespace
Identity - An
identityblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- zone
Redundant Boolean - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- resource
Group stringName - The name of the resource group in which to create the namespace.
- sku string
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- capacity number
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - identity
Namespace
Identity - An
identityblock as defined below. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- zone
Redundant boolean - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- resource_
group_ strname - The name of the resource group in which to create the namespace.
- sku str
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- capacity int
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - identity
Namespace
Identity Args - An
identityblock as defined below. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- zone_
redundant bool - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- resource
Group StringName - The name of the resource group in which to create the namespace.
- sku String
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- capacity Number
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - identity Property Map
- An
identityblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
- zone
Redundant Boolean - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
Outputs
All input properties are implicitly available as output properties. Additionally, the Namespace resource produces the following output properties:
- Default
Primary stringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - Default
Primary stringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - Default
Secondary stringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - Default
Secondary stringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - Id string
- The provider-assigned unique ID for this managed resource.
- Default
Primary stringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - Default
Primary stringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - Default
Secondary stringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - Default
Secondary stringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - Id string
- The provider-assigned unique ID for this managed resource.
- default
Primary StringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default
Primary StringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default
Secondary StringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default
Secondary StringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - id String
- The provider-assigned unique ID for this managed resource.
- default
Primary stringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default
Primary stringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default
Secondary stringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default
Secondary stringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - id string
- The provider-assigned unique ID for this managed resource.
- default_
primary_ strconnection_ string - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default_
primary_ strkey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default_
secondary_ strconnection_ string - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default_
secondary_ strkey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - id str
- The provider-assigned unique ID for this managed resource.
- default
Primary StringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default
Primary StringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default
Secondary StringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default
Secondary StringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Namespace Resource
Get an existing Namespace 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?: NamespaceState, opts?: CustomResourceOptions): Namespace@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capacity: Optional[int] = None,
default_primary_connection_string: Optional[str] = None,
default_primary_key: Optional[str] = None,
default_secondary_connection_string: Optional[str] = None,
default_secondary_key: Optional[str] = None,
identity: Optional[NamespaceIdentityArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
zone_redundant: Optional[bool] = None) -> Namespacefunc GetNamespace(ctx *Context, name string, id IDInput, state *NamespaceState, opts ...ResourceOption) (*Namespace, error)public static Namespace Get(string name, Input<string> id, NamespaceState? state, CustomResourceOptions? opts = null)public static Namespace get(String name, Output<String> id, NamespaceState state, CustomResourceOptions options)resources: _: type: azure:servicebus:Namespace get: id: ${id}- 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.
- Capacity int
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - Default
Primary stringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - Default
Primary stringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - Default
Secondary stringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - Default
Secondary stringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - Identity
Namespace
Identity - An
identityblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which to create the namespace.
- Sku string
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Zone
Redundant bool - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- Capacity int
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - Default
Primary stringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - Default
Primary stringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - Default
Secondary stringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - Default
Secondary stringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - Identity
Namespace
Identity Args - An
identityblock as defined below. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the resource group in which to create the namespace.
- Sku string
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- Zone
Redundant bool - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- capacity Integer
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - default
Primary StringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default
Primary StringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default
Secondary StringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default
Secondary StringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - identity
Namespace
Identity - An
identityblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which to create the namespace.
- sku String
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- zone
Redundant Boolean - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- capacity number
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - default
Primary stringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default
Primary stringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default
Secondary stringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default
Secondary stringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - identity
Namespace
Identity - An
identityblock as defined below. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- resource
Group stringName - The name of the resource group in which to create the namespace.
- sku string
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- zone
Redundant boolean - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- capacity int
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - default_
primary_ strconnection_ string - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default_
primary_ strkey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default_
secondary_ strconnection_ string - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default_
secondary_ strkey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - identity
Namespace
Identity Args - An
identityblock as defined below. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the resource group in which to create the namespace.
- sku str
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- zone_
redundant bool - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
- capacity Number
- Specifies the capacity. When
skuisPremium, capacity can be1,2,4,8or16. WhenskuisBasicorStandard, capacity can be0only. - default
Primary StringConnection String - The primary connection string for the authorization
rule
RootManageSharedAccessKey. - default
Primary StringKey - The primary access key for the authorization rule
RootManageSharedAccessKey. - default
Secondary StringConnection String - The secondary connection string for the
authorization rule
RootManageSharedAccessKey. - default
Secondary StringKey - The secondary access key for the authorization rule
RootManageSharedAccessKey. - identity Property Map
- An
identityblock as defined below. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the ServiceBus Namespace resource . Changing this forces a new resource to be created.
- resource
Group StringName - The name of the resource group in which to create the namespace.
- sku String
- Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
- zone
Redundant Boolean - Whether or not this resource is zone redundant.
skuneeds to bePremium. Defaults tofalse.
Supporting Types
NamespaceIdentity, NamespaceIdentityArgs
- Type string
- The Type of Identity which should be used for this ServiceBus Namespace. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned. - Identity
Ids List<string> - A list of User Managed Identity ID's which should be assigned to the ServiceBus Namespace.
- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- Type string
- The Type of Identity which should be used for this ServiceBus Namespace. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned. - Identity
Ids []string - A list of User Managed Identity ID's which should be assigned to the ServiceBus Namespace.
- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- type String
- The Type of Identity which should be used for this ServiceBus Namespace. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned. - identity
Ids List<String> - A list of User Managed Identity ID's which should be assigned to the ServiceBus Namespace.
- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- type string
- The Type of Identity which should be used for this ServiceBus Namespace. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned. - identity
Ids string[] - A list of User Managed Identity ID's which should be assigned to the ServiceBus Namespace.
- principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- type str
- The Type of Identity which should be used for this ServiceBus Namespace. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned. - identity_
ids Sequence[str] - A list of User Managed Identity ID's which should be assigned to the ServiceBus Namespace.
- principal_
id str - The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- tenant_
id str - The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- type String
- The Type of Identity which should be used for this ServiceBus Namespace. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned. - identity
Ids List<String> - A list of User Managed Identity ID's which should be assigned to the ServiceBus Namespace.
- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
Import
Service Bus Namespace can be imported using the resource id, e.g.
$ pulumi import azure:servicebus/namespace:Namespace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1
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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
