Description of a namespace resource.
Uses Azure REST API version 2026-01-01. In version 2.x of the Azure Native provider, it used API version 2022-01-01-preview.
Other available API versions: 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview, 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview, 2024-01-01, 2025-05-01-preview, 2026-07-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native servicebus [ApiVersion]. See the version guide for details.
Example Usage
NameSpaceCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var @namespace = new AzureNative.ServiceBus.Namespace("namespace", new()
{
GeoDataReplication = new AzureNative.ServiceBus.Inputs.GeoDataReplicationPropertiesArgs
{
Locations = new[]
{
new AzureNative.ServiceBus.Inputs.NamespaceReplicaLocationArgs
{
LocationName = "eastus",
RoleType = AzureNative.ServiceBus.GeoDRRoleType.Primary,
},
new AzureNative.ServiceBus.Inputs.NamespaceReplicaLocationArgs
{
LocationName = "southcentralus",
RoleType = AzureNative.ServiceBus.GeoDRRoleType.Secondary,
},
},
MaxReplicationLagDurationInSeconds = 300,
},
Location = "South Central US",
NamespaceName = "sdk-Namespace2924",
PremiumMessagingPartitions = 2,
ResourceGroupName = "ArunMonocle",
Sku = new AzureNative.ServiceBus.Inputs.SBSkuArgs
{
Capacity = 4,
Name = AzureNative.ServiceBus.SkuName.Premium,
Tier = AzureNative.ServiceBus.SkuTier.Premium,
},
Tags =
{
{ "tag1", "value1" },
{ "tag2", "value2" },
},
});
});
package main
import (
servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicebus.NewNamespace(ctx, "namespace", &servicebus.NamespaceArgs{
GeoDataReplication: &servicebus.GeoDataReplicationPropertiesArgs{
Locations: servicebus.NamespaceReplicaLocationArray{
&servicebus.NamespaceReplicaLocationArgs{
LocationName: pulumi.String("eastus"),
RoleType: pulumi.String(servicebus.GeoDRRoleTypePrimary),
},
&servicebus.NamespaceReplicaLocationArgs{
LocationName: pulumi.String("southcentralus"),
RoleType: pulumi.String(servicebus.GeoDRRoleTypeSecondary),
},
},
MaxReplicationLagDurationInSeconds: pulumi.Int(300),
},
Location: pulumi.String("South Central US"),
NamespaceName: pulumi.String("sdk-Namespace2924"),
PremiumMessagingPartitions: pulumi.Int(2),
ResourceGroupName: pulumi.String("ArunMonocle"),
Sku: &servicebus.SBSkuArgs{
Capacity: pulumi.Int(4),
Name: servicebus.SkuNamePremium,
Tier: servicebus.SkuTierPremium,
},
Tags: pulumi.StringMap{
"tag1": pulumi.String("value1"),
"tag2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_servicebus_namespace" "namespace" {
lifecycle {
create_before_destroy = true
}
geo_data_replication = {
locations = [{
location_name = "eastus"
role_type = "Primary"
}, {
location_name = "southcentralus"
role_type = "Secondary"
}]
max_replication_lag_duration_in_seconds = 300
}
location = "South Central US"
namespace_name = "sdk-Namespace2924"
premium_messaging_partitions = 2
resource_group_name = "ArunMonocle"
sku = {
capacity = 4
name = "Premium"
tier = "Premium"
}
tags = {
"tag1" = "value1"
"tag2" = "value2"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Namespace;
import com.pulumi.azurenative.servicebus.NamespaceArgs;
import com.pulumi.azurenative.servicebus.inputs.GeoDataReplicationPropertiesArgs;
import com.pulumi.azurenative.servicebus.inputs.NamespaceReplicaLocationArgs;
import com.pulumi.azurenative.servicebus.inputs.SBSkuArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 namespace = new Namespace("namespace", NamespaceArgs.builder()
.geoDataReplication(GeoDataReplicationPropertiesArgs.builder()
.locations(
NamespaceReplicaLocationArgs.builder()
.locationName("eastus")
.roleType("Primary")
.build(),
NamespaceReplicaLocationArgs.builder()
.locationName("southcentralus")
.roleType("Secondary")
.build())
.maxReplicationLagDurationInSeconds(300)
.build())
.location("South Central US")
.namespaceName("sdk-Namespace2924")
.premiumMessagingPartitions(2)
.resourceGroupName("ArunMonocle")
.sku(SBSkuArgs.builder()
.capacity(4)
.name("Premium")
.tier("Premium")
.build())
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespace = new azure_native.servicebus.Namespace("namespace", {
geoDataReplication: {
locations: [
{
locationName: "eastus",
roleType: azure_native.servicebus.GeoDRRoleType.Primary,
},
{
locationName: "southcentralus",
roleType: azure_native.servicebus.GeoDRRoleType.Secondary,
},
],
maxReplicationLagDurationInSeconds: 300,
},
location: "South Central US",
namespaceName: "sdk-Namespace2924",
premiumMessagingPartitions: 2,
resourceGroupName: "ArunMonocle",
sku: {
capacity: 4,
name: azure_native.servicebus.SkuName.Premium,
tier: azure_native.servicebus.SkuTier.Premium,
},
tags: {
tag1: "value1",
tag2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
namespace = azure_native.servicebus.Namespace("namespace",
geo_data_replication={
"locations": [
{
"location_name": "eastus",
"role_type": azure_native.servicebus.GeoDRRoleType.PRIMARY,
},
{
"location_name": "southcentralus",
"role_type": azure_native.servicebus.GeoDRRoleType.SECONDARY,
},
],
"max_replication_lag_duration_in_seconds": 300,
},
location="South Central US",
namespace_name="sdk-Namespace2924",
premium_messaging_partitions=2,
resource_group_name="ArunMonocle",
sku={
"capacity": 4,
"name": azure_native.servicebus.SkuName.PREMIUM,
"tier": azure_native.servicebus.SkuTier.PREMIUM,
},
tags={
"tag1": "value1",
"tag2": "value2",
})
resources:
namespace:
type: azure-native:servicebus:Namespace
properties:
geoDataReplication:
locations:
- locationName: eastus
roleType: Primary
- locationName: southcentralus
roleType: Secondary
maxReplicationLagDurationInSeconds: 300
location: South Central US
namespaceName: sdk-Namespace2924
premiumMessagingPartitions: 2
resourceGroupName: ArunMonocle
sku:
capacity: 4
name: Premium
tier: Premium
tags:
tag1: value1
tag2: value2
NameSpaceCreateWithIpAddressTypeDualStack
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var @namespace = new AzureNative.ServiceBus.Namespace("namespace", new()
{
GeoDataReplication = new AzureNative.ServiceBus.Inputs.GeoDataReplicationPropertiesArgs
{
Locations = new[]
{
new AzureNative.ServiceBus.Inputs.NamespaceReplicaLocationArgs
{
LocationName = "eastus",
RoleType = AzureNative.ServiceBus.GeoDRRoleType.Primary,
},
new AzureNative.ServiceBus.Inputs.NamespaceReplicaLocationArgs
{
LocationName = "southcentralus",
RoleType = AzureNative.ServiceBus.GeoDRRoleType.Secondary,
},
},
MaxReplicationLagDurationInSeconds = 300,
},
IpAddressType = AzureNative.ServiceBus.IpAddressType.DualStack,
Location = "South Central US",
NamespaceName = "sdk-Namespace2924",
PremiumMessagingPartitions = 2,
PublicNetworkAccess = AzureNative.ServiceBus.PublicNetworkAccess.Enabled,
ResourceGroupName = "ArunMonocle",
Sku = new AzureNative.ServiceBus.Inputs.SBSkuArgs
{
Capacity = 4,
Name = AzureNative.ServiceBus.SkuName.Premium,
Tier = AzureNative.ServiceBus.SkuTier.Premium,
},
Tags =
{
{ "tag1", "value1" },
{ "tag2", "value2" },
},
});
});
package main
import (
servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicebus.NewNamespace(ctx, "namespace", &servicebus.NamespaceArgs{
GeoDataReplication: &servicebus.GeoDataReplicationPropertiesArgs{
Locations: servicebus.NamespaceReplicaLocationArray{
&servicebus.NamespaceReplicaLocationArgs{
LocationName: pulumi.String("eastus"),
RoleType: pulumi.String(servicebus.GeoDRRoleTypePrimary),
},
&servicebus.NamespaceReplicaLocationArgs{
LocationName: pulumi.String("southcentralus"),
RoleType: pulumi.String(servicebus.GeoDRRoleTypeSecondary),
},
},
MaxReplicationLagDurationInSeconds: pulumi.Int(300),
},
IpAddressType: pulumi.String(servicebus.IpAddressTypeDualStack),
Location: pulumi.String("South Central US"),
NamespaceName: pulumi.String("sdk-Namespace2924"),
PremiumMessagingPartitions: pulumi.Int(2),
PublicNetworkAccess: pulumi.String(servicebus.PublicNetworkAccessEnabled),
ResourceGroupName: pulumi.String("ArunMonocle"),
Sku: &servicebus.SBSkuArgs{
Capacity: pulumi.Int(4),
Name: servicebus.SkuNamePremium,
Tier: servicebus.SkuTierPremium,
},
Tags: pulumi.StringMap{
"tag1": pulumi.String("value1"),
"tag2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_servicebus_namespace" "namespace" {
lifecycle {
create_before_destroy = true
}
geo_data_replication = {
locations = [{
location_name = "eastus"
role_type = "Primary"
}, {
location_name = "southcentralus"
role_type = "Secondary"
}]
max_replication_lag_duration_in_seconds = 300
}
ip_address_type = "DualStack"
location = "South Central US"
namespace_name = "sdk-Namespace2924"
premium_messaging_partitions = 2
public_network_access = "Enabled"
resource_group_name = "ArunMonocle"
sku = {
capacity = 4
name = "Premium"
tier = "Premium"
}
tags = {
"tag1" = "value1"
"tag2" = "value2"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Namespace;
import com.pulumi.azurenative.servicebus.NamespaceArgs;
import com.pulumi.azurenative.servicebus.inputs.GeoDataReplicationPropertiesArgs;
import com.pulumi.azurenative.servicebus.inputs.NamespaceReplicaLocationArgs;
import com.pulumi.azurenative.servicebus.inputs.SBSkuArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 namespace = new Namespace("namespace", NamespaceArgs.builder()
.geoDataReplication(GeoDataReplicationPropertiesArgs.builder()
.locations(
NamespaceReplicaLocationArgs.builder()
.locationName("eastus")
.roleType("Primary")
.build(),
NamespaceReplicaLocationArgs.builder()
.locationName("southcentralus")
.roleType("Secondary")
.build())
.maxReplicationLagDurationInSeconds(300)
.build())
.ipAddressType("DualStack")
.location("South Central US")
.namespaceName("sdk-Namespace2924")
.premiumMessagingPartitions(2)
.publicNetworkAccess("Enabled")
.resourceGroupName("ArunMonocle")
.sku(SBSkuArgs.builder()
.capacity(4)
.name("Premium")
.tier("Premium")
.build())
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value2")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespace = new azure_native.servicebus.Namespace("namespace", {
geoDataReplication: {
locations: [
{
locationName: "eastus",
roleType: azure_native.servicebus.GeoDRRoleType.Primary,
},
{
locationName: "southcentralus",
roleType: azure_native.servicebus.GeoDRRoleType.Secondary,
},
],
maxReplicationLagDurationInSeconds: 300,
},
ipAddressType: azure_native.servicebus.IpAddressType.DualStack,
location: "South Central US",
namespaceName: "sdk-Namespace2924",
premiumMessagingPartitions: 2,
publicNetworkAccess: azure_native.servicebus.PublicNetworkAccess.Enabled,
resourceGroupName: "ArunMonocle",
sku: {
capacity: 4,
name: azure_native.servicebus.SkuName.Premium,
tier: azure_native.servicebus.SkuTier.Premium,
},
tags: {
tag1: "value1",
tag2: "value2",
},
});
import pulumi
import pulumi_azure_native as azure_native
namespace = azure_native.servicebus.Namespace("namespace",
geo_data_replication={
"locations": [
{
"location_name": "eastus",
"role_type": azure_native.servicebus.GeoDRRoleType.PRIMARY,
},
{
"location_name": "southcentralus",
"role_type": azure_native.servicebus.GeoDRRoleType.SECONDARY,
},
],
"max_replication_lag_duration_in_seconds": 300,
},
ip_address_type=azure_native.servicebus.IpAddressType.DUAL_STACK,
location="South Central US",
namespace_name="sdk-Namespace2924",
premium_messaging_partitions=2,
public_network_access=azure_native.servicebus.PublicNetworkAccess.ENABLED,
resource_group_name="ArunMonocle",
sku={
"capacity": 4,
"name": azure_native.servicebus.SkuName.PREMIUM,
"tier": azure_native.servicebus.SkuTier.PREMIUM,
},
tags={
"tag1": "value1",
"tag2": "value2",
})
resources:
namespace:
type: azure-native:servicebus:Namespace
properties:
geoDataReplication:
locations:
- locationName: eastus
roleType: Primary
- locationName: southcentralus
roleType: Secondary
maxReplicationLagDurationInSeconds: 300
ipAddressType: DualStack
location: South Central US
namespaceName: sdk-Namespace2924
premiumMessagingPartitions: 2
publicNetworkAccess: Enabled
resourceGroupName: ArunMonocle
sku:
capacity: 4
name: Premium
tier: Premium
tags:
tag1: value1
tag2: value2
Create Namespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@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,
namespace_name: Optional[str] = None,
premium_messaging_partitions: Optional[int] = None,
geo_data_replication: Optional[GeoDataReplicationPropertiesArgs] = None,
identity: Optional[IdentityArgs] = None,
ip_address_type: Optional[Union[str, IpAddressType]] = None,
location: Optional[str] = None,
encryption: Optional[EncryptionArgs] = None,
minimum_tls_version: Optional[Union[str, TlsVersion]] = None,
platform_capabilities: Optional[PlatformCapabilitiesArgs] = None,
alternate_name: Optional[str] = None,
private_endpoint_connections: Optional[Sequence[PrivateEndpointConnectionArgs]] = None,
public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
disable_local_auth: Optional[bool] = None,
sku: Optional[SBSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
zone_redundant: Optional[bool] = None)
public Namespace(String name, NamespaceArgs args)
public Namespace(String name, NamespaceArgs args, CustomResourceOptions options)
type: azure-native:servicebus:Namespace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_servicebus_namespace" "name" {
# resource properties
}
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 examplenamespaceResourceResourceFromServicebus = new AzureNative.ServiceBus.Namespace("examplenamespaceResourceResourceFromServicebus", new()
{
ResourceGroupName = "string",
NamespaceName = "string",
PremiumMessagingPartitions = 0,
GeoDataReplication = new AzureNative.ServiceBus.Inputs.GeoDataReplicationPropertiesArgs
{
Locations = new[]
{
new AzureNative.ServiceBus.Inputs.NamespaceReplicaLocationArgs
{
LocationName = "string",
RoleType = "string",
},
},
MaxReplicationLagDurationInSeconds = 0,
},
Identity = new AzureNative.ServiceBus.Inputs.IdentityArgs
{
Type = AzureNative.ServiceBus.ManagedServiceIdentityType.SystemAssigned,
UserAssignedIdentities = new[]
{
"string",
},
},
IpAddressType = "string",
Location = "string",
Encryption = new AzureNative.ServiceBus.Inputs.EncryptionArgs
{
KeySource = AzureNative.ServiceBus.KeySource.Microsoft_KeyVault,
KeyVaultProperties = new[]
{
new AzureNative.ServiceBus.Inputs.KeyVaultPropertiesArgs
{
Identity = new AzureNative.ServiceBus.Inputs.UserAssignedIdentityPropertiesArgs
{
UserAssignedIdentity = "string",
},
KeyName = "string",
KeyVaultUri = "string",
KeyVersion = "string",
},
},
RequireInfrastructureEncryption = false,
},
MinimumTlsVersion = "string",
PlatformCapabilities = new AzureNative.ServiceBus.Inputs.PlatformCapabilitiesArgs
{
ConfidentialCompute = new AzureNative.ServiceBus.Inputs.ConfidentialComputeArgs
{
Mode = "string",
},
},
AlternateName = "string",
PrivateEndpointConnections = new[]
{
new AzureNative.ServiceBus.Inputs.PrivateEndpointConnectionArgs
{
PrivateEndpoint = new AzureNative.ServiceBus.Inputs.PrivateEndpointArgs
{
Id = "string",
},
PrivateLinkServiceConnectionState = new AzureNative.ServiceBus.Inputs.ConnectionStateArgs
{
Description = "string",
Status = "string",
},
ProvisioningState = "string",
},
},
PublicNetworkAccess = "string",
DisableLocalAuth = false,
Sku = new AzureNative.ServiceBus.Inputs.SBSkuArgs
{
Name = AzureNative.ServiceBus.SkuName.Basic,
Capacity = 0,
Tier = AzureNative.ServiceBus.SkuTier.Basic,
},
Tags =
{
{ "string", "string" },
},
ZoneRedundant = false,
});
example, err := servicebus.NewNamespace(ctx, "examplenamespaceResourceResourceFromServicebus", &servicebus.NamespaceArgs{
ResourceGroupName: pulumi.String("string"),
NamespaceName: pulumi.String("string"),
PremiumMessagingPartitions: pulumi.Int(0),
GeoDataReplication: &servicebus.GeoDataReplicationPropertiesArgs{
Locations: servicebus.NamespaceReplicaLocationArray{
&servicebus.NamespaceReplicaLocationArgs{
LocationName: pulumi.String("string"),
RoleType: pulumi.String("string"),
},
},
MaxReplicationLagDurationInSeconds: pulumi.Int(0),
},
Identity: &servicebus.IdentityArgs{
Type: servicebus.ManagedServiceIdentityTypeSystemAssigned,
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
IpAddressType: pulumi.String("string"),
Location: pulumi.String("string"),
Encryption: &servicebus.EncryptionArgs{
KeySource: servicebus.KeySource_Microsoft_KeyVault,
KeyVaultProperties: servicebus.KeyVaultPropertiesArray{
&servicebus.KeyVaultPropertiesArgs{
Identity: &servicebus.UserAssignedIdentityPropertiesArgs{
UserAssignedIdentity: pulumi.String("string"),
},
KeyName: pulumi.String("string"),
KeyVaultUri: pulumi.String("string"),
KeyVersion: pulumi.String("string"),
},
},
RequireInfrastructureEncryption: pulumi.Bool(false),
},
MinimumTlsVersion: pulumi.String("string"),
PlatformCapabilities: &servicebus.PlatformCapabilitiesArgs{
ConfidentialCompute: &servicebus.ConfidentialComputeArgs{
Mode: pulumi.String("string"),
},
},
AlternateName: pulumi.String("string"),
PrivateEndpointConnections: servicebus.PrivateEndpointConnectionTypeArray{
&servicebus.PrivateEndpointConnectionTypeArgs{
PrivateEndpoint: &servicebus.PrivateEndpointArgs{
Id: pulumi.String("string"),
},
PrivateLinkServiceConnectionState: &servicebus.ConnectionStateArgs{
Description: pulumi.String("string"),
Status: pulumi.String("string"),
},
ProvisioningState: pulumi.String("string"),
},
},
PublicNetworkAccess: pulumi.String("string"),
DisableLocalAuth: pulumi.Bool(false),
Sku: &servicebus.SBSkuArgs{
Name: servicebus.SkuNameBasic,
Capacity: pulumi.Int(0),
Tier: servicebus.SkuTierBasic,
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ZoneRedundant: pulumi.Bool(false),
})
resource "azure-native_servicebus_namespace" "examplenamespaceResourceResourceFromServicebus" {
lifecycle {
create_before_destroy = true
}
resource_group_name = "string"
namespace_name = "string"
premium_messaging_partitions = 0
geo_data_replication = {
locations = [{
location_name = "string"
role_type = "string"
}]
max_replication_lag_duration_in_seconds = 0
}
identity = {
type = "SystemAssigned"
user_assigned_identities = ["string"]
}
ip_address_type = "string"
location = "string"
encryption = {
key_source = "Microsoft.KeyVault"
key_vault_properties = [{
identity = {
user_assigned_identity = "string"
}
key_name = "string"
key_vault_uri = "string"
key_version = "string"
}]
require_infrastructure_encryption = false
}
minimum_tls_version = "string"
platform_capabilities = {
confidential_compute = {
mode = "string"
}
}
alternate_name = "string"
private_endpoint_connections {
private_endpoint = {
id = "string"
}
private_link_service_connection_state = {
description = "string"
status = "string"
}
provisioning_state = "string"
}
public_network_access = "string"
disable_local_auth = false
sku = {
name = "Basic"
capacity = 0
tier = "Basic"
}
tags = {
"string" = "string"
}
zone_redundant = false
}
var examplenamespaceResourceResourceFromServicebus = new com.pulumi.azurenative.servicebus.Namespace("examplenamespaceResourceResourceFromServicebus", com.pulumi.azurenative.servicebus.NamespaceArgs.builder()
.resourceGroupName("string")
.namespaceName("string")
.premiumMessagingPartitions(0)
.geoDataReplication(GeoDataReplicationPropertiesArgs.builder()
.locations(NamespaceReplicaLocationArgs.builder()
.locationName("string")
.roleType("string")
.build())
.maxReplicationLagDurationInSeconds(0)
.build())
.identity(com.pulumi.azurenative.servicebus.inputs.IdentityArgs.builder()
.type(com.pulumi.azurenative.servicebus.enums.ManagedServiceIdentityType.SystemAssigned)
.userAssignedIdentities("string")
.build())
.ipAddressType("string")
.location("string")
.encryption(com.pulumi.azurenative.servicebus.inputs.EncryptionArgs.builder()
.keySource(com.pulumi.azurenative.servicebus.enums.KeySource.Microsoft_KeyVault)
.keyVaultProperties(com.pulumi.azurenative.servicebus.inputs.KeyVaultPropertiesArgs.builder()
.identity(com.pulumi.azurenative.servicebus.inputs.UserAssignedIdentityPropertiesArgs.builder()
.userAssignedIdentity("string")
.build())
.keyName("string")
.keyVaultUri("string")
.keyVersion("string")
.build())
.requireInfrastructureEncryption(false)
.build())
.minimumTlsVersion("string")
.platformCapabilities(PlatformCapabilitiesArgs.builder()
.confidentialCompute(ConfidentialComputeArgs.builder()
.mode("string")
.build())
.build())
.alternateName("string")
.privateEndpointConnections(com.pulumi.azurenative.servicebus.inputs.PrivateEndpointConnectionArgs.builder()
.privateEndpoint(com.pulumi.azurenative.servicebus.inputs.PrivateEndpointArgs.builder()
.id("string")
.build())
.privateLinkServiceConnectionState(com.pulumi.azurenative.servicebus.inputs.ConnectionStateArgs.builder()
.description("string")
.status("string")
.build())
.provisioningState("string")
.build())
.publicNetworkAccess("string")
.disableLocalAuth(false)
.sku(SBSkuArgs.builder()
.name(com.pulumi.azurenative.servicebus.enums.SkuName.Basic)
.capacity(0)
.tier(com.pulumi.azurenative.servicebus.enums.SkuTier.Basic)
.build())
.tags(Map.of("string", "string"))
.zoneRedundant(false)
.build());
examplenamespace_resource_resource_from_servicebus = azure_native.servicebus.Namespace("examplenamespaceResourceResourceFromServicebus",
resource_group_name="string",
namespace_name="string",
premium_messaging_partitions=0,
geo_data_replication={
"locations": [{
"location_name": "string",
"role_type": "string",
}],
"max_replication_lag_duration_in_seconds": 0,
},
identity={
"type": azure_native.servicebus.ManagedServiceIdentityType.SYSTEM_ASSIGNED,
"user_assigned_identities": ["string"],
},
ip_address_type="string",
location="string",
encryption={
"key_source": azure_native.servicebus.KeySource.MICROSOFT_KEY_VAULT,
"key_vault_properties": [{
"identity": {
"user_assigned_identity": "string",
},
"key_name": "string",
"key_vault_uri": "string",
"key_version": "string",
}],
"require_infrastructure_encryption": False,
},
minimum_tls_version="string",
platform_capabilities={
"confidential_compute": {
"mode": "string",
},
},
alternate_name="string",
private_endpoint_connections=[{
"private_endpoint": {
"id": "string",
},
"private_link_service_connection_state": {
"description": "string",
"status": "string",
},
"provisioning_state": "string",
}],
public_network_access="string",
disable_local_auth=False,
sku={
"name": azure_native.servicebus.SkuName.BASIC,
"capacity": 0,
"tier": azure_native.servicebus.SkuTier.BASIC,
},
tags={
"string": "string",
},
zone_redundant=False)
const examplenamespaceResourceResourceFromServicebus = new azure_native.servicebus.Namespace("examplenamespaceResourceResourceFromServicebus", {
resourceGroupName: "string",
namespaceName: "string",
premiumMessagingPartitions: 0,
geoDataReplication: {
locations: [{
locationName: "string",
roleType: "string",
}],
maxReplicationLagDurationInSeconds: 0,
},
identity: {
type: azure_native.servicebus.ManagedServiceIdentityType.SystemAssigned,
userAssignedIdentities: ["string"],
},
ipAddressType: "string",
location: "string",
encryption: {
keySource: azure_native.servicebus.KeySource.Microsoft_KeyVault,
keyVaultProperties: [{
identity: {
userAssignedIdentity: "string",
},
keyName: "string",
keyVaultUri: "string",
keyVersion: "string",
}],
requireInfrastructureEncryption: false,
},
minimumTlsVersion: "string",
platformCapabilities: {
confidentialCompute: {
mode: "string",
},
},
alternateName: "string",
privateEndpointConnections: [{
privateEndpoint: {
id: "string",
},
privateLinkServiceConnectionState: {
description: "string",
status: "string",
},
provisioningState: "string",
}],
publicNetworkAccess: "string",
disableLocalAuth: false,
sku: {
name: azure_native.servicebus.SkuName.Basic,
capacity: 0,
tier: azure_native.servicebus.SkuTier.Basic,
},
tags: {
string: "string",
},
zoneRedundant: false,
});
type: azure-native:servicebus:Namespace
properties:
alternateName: string
disableLocalAuth: false
encryption:
keySource: Microsoft.KeyVault
keyVaultProperties:
- identity:
userAssignedIdentity: string
keyName: string
keyVaultUri: string
keyVersion: string
requireInfrastructureEncryption: false
geoDataReplication:
locations:
- locationName: string
roleType: string
maxReplicationLagDurationInSeconds: 0
identity:
type: SystemAssigned
userAssignedIdentities:
- string
ipAddressType: string
location: string
minimumTlsVersion: string
namespaceName: string
platformCapabilities:
confidentialCompute:
mode: string
premiumMessagingPartitions: 0
privateEndpointConnections:
- privateEndpoint:
id: string
privateLinkServiceConnectionState:
description: string
status: string
provisioningState: string
publicNetworkAccess: string
resourceGroupName: string
sku:
capacity: 0
name: Basic
tier: Basic
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.
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:
Outputs
All input properties are implicitly available as output properties. Additionally, the Namespace resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- CreatedAt
string
- The time the namespace was created
- Id
string
- The provider-assigned unique ID for this managed resource.
- MetricId
string
- Identifier for Azure Insights metrics
- Name
string
- The name of the resource
- ProvisioningState
string
- Provisioning state of the namespace.
- ServiceBusEndpoint
string
- Endpoint you can use to perform Service Bus operations.
- Status
string
- Status of the namespace.
- SystemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- UpdatedAt
string
- The time the namespace was updated.
- azure_api_version
string
- The Azure API version of the resource.
- created_at
string
- The time the namespace was created
- id
string
- The provider-assigned unique ID for this managed resource.
- metric_id
string
- Identifier for Azure Insights metrics
- name
string
- The name of the resource
- provisioning_state
string
- Provisioning state of the namespace.
- service_bus_endpoint
string
- Endpoint you can use to perform Service Bus operations.
- status
string
- Status of the namespace.
- system_data
object
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updated_at
string
- The time the namespace was updated.
- azureApiVersion
String
- The Azure API version of the resource.
- createdAt
String
- The time the namespace was created
- id
String
- The provider-assigned unique ID for this managed resource.
- metricId
String
- Identifier for Azure Insights metrics
- name
String
- The name of the resource
- provisioningState
String
- Provisioning state of the namespace.
- serviceBusEndpoint
String
- Endpoint you can use to perform Service Bus operations.
- status
String
- Status of the namespace.
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updatedAt
String
- The time the namespace was updated.
- azureApiVersion
string
- The Azure API version of the resource.
- createdAt
string
- The time the namespace was created
- id
string
- The provider-assigned unique ID for this managed resource.
- metricId
string
- Identifier for Azure Insights metrics
- name
string
- The name of the resource
- provisioningState
string
- Provisioning state of the namespace.
- serviceBusEndpoint
string
- Endpoint you can use to perform Service Bus operations.
- status
string
- Status of the namespace.
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updatedAt
string
- The time the namespace was updated.
- azure_api_version
str
- The Azure API version of the resource.
- created_at
str
- The time the namespace was created
- id
str
- The provider-assigned unique ID for this managed resource.
- metric_id
str
- Identifier for Azure Insights metrics
- name
str
- The name of the resource
- provisioning_state
str
- Provisioning state of the namespace.
- service_bus_endpoint
str
- Endpoint you can use to perform Service Bus operations.
- status
str
- Status of the namespace.
- system_data
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updated_at
str
- The time the namespace was updated.
- azureApiVersion
String
- The Azure API version of the resource.
- createdAt
String
- The time the namespace was created
- id
String
- The provider-assigned unique ID for this managed resource.
- metricId
String
- Identifier for Azure Insights metrics
- name
String
- The name of the resource
- provisioningState
String
- Provisioning state of the namespace.
- serviceBusEndpoint
String
- Endpoint you can use to perform Service Bus operations.
- status
String
- Status of the namespace.
- systemData
Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- updatedAt
String
- The time the namespace was updated.
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 Namespace get(String name, Output<String> id, CustomResourceOptions options)
resources: existingNamespace: type: azure-native:servicebus:Namespace get: id: ${id}
import {
to = azure-native_servicebus_namespace.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
NamespaceState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ConfidentialCompute, ConfidentialComputeArgs
- Mode
string | Mode
- Setting to Enable or Disable Confidential Compute
- mode
String | Mode
- Setting to Enable or Disable Confidential Compute
- mode
string | Mode
- Setting to Enable or Disable Confidential Compute
- mode
str | Mode
- Setting to Enable or Disable Confidential Compute
ConfidentialComputeResponse, ConfidentialComputeResponseArgs
- Mode
string
- Setting to Enable or Disable Confidential Compute
- Mode
string
- Setting to Enable or Disable Confidential Compute
- mode
string
- Setting to Enable or Disable Confidential Compute
- mode
String
- Setting to Enable or Disable Confidential Compute
- mode
string
- Setting to Enable or Disable Confidential Compute
- mode
str
- Setting to Enable or Disable Confidential Compute
- mode
String
- Setting to Enable or Disable Confidential Compute
ConnectionState, ConnectionStateArgs
ConnectionState information.ConnectionStateResponse, ConnectionStateResponseArgs
ConnectionState information.- Description
string
- Description of the connection state.
- Status
string
- Status of the connection.
- Description
string
- Description of the connection state.
- Status
string
- Status of the connection.
- description
string
- Description of the connection state.
- status
string
- Status of the connection.
- description
String
- Description of the connection state.
- status
String
- Status of the connection.
- description
string
- Description of the connection state.
- status
string
- Status of the connection.
- description
str
- Description of the connection state.
- status
str
- Status of the connection.
- description
String
- Description of the connection state.
- status
String
- Status of the connection.
Encryption, EncryptionArgs
Properties to configure EncryptionEncryptionResponse, EncryptionResponseArgs
Properties to configure EncryptionEndPointProvisioningState, EndPointProvisioningStateArgs
| Name | Value |
|---|
| Creating | Creating |
| Updating | Updating |
| Deleting | Deleting |
| Succeeded | Succeeded |
| Canceled | Canceled |
| Failed | Failed |
| Name | Value |
|---|
| EndPointProvisioningStateCreating | Creating |
| EndPointProvisioningStateUpdating | Updating |
| EndPointProvisioningStateDeleting | Deleting |
| EndPointProvisioningStateSucceeded | Succeeded |
| EndPointProvisioningStateCanceled | Canceled |
| EndPointProvisioningStateFailed | Failed |
| Value |
|---|
Creating |
Updating |
Deleting |
Succeeded |
Canceled |
Failed |
| Name | Value |
|---|
| Creating | Creating |
| Updating | Updating |
| Deleting | Deleting |
| Succeeded | Succeeded |
| Canceled | Canceled |
| Failed | Failed |
| Name | Value |
|---|
| Creating | Creating |
| Updating | Updating |
| Deleting | Deleting |
| Succeeded | Succeeded |
| Canceled | Canceled |
| Failed | Failed |
| Name | Value |
|---|
| CREATING | Creating |
| UPDATING | Updating |
| DELETING | Deleting |
| SUCCEEDED | Succeeded |
| CANCELED | Canceled |
| FAILED | Failed |
| Value |
|---|
Creating |
Updating |
Deleting |
Succeeded |
Canceled |
Failed |
GeoDRRoleType, GeoDRRoleTypeArgs
| Name | Value |
|---|
| Primary | Primary |
| Secondary | Secondary |
| Name | Value |
|---|
| GeoDRRoleTypePrimary | Primary |
| GeoDRRoleTypeSecondary | Secondary |
| Name | Value |
|---|
| Primary | Primary |
| Secondary | Secondary |
| Name | Value |
|---|
| Primary | Primary |
| Secondary | Secondary |
| Name | Value |
|---|
| PRIMARY | Primary |
| SECONDARY | Secondary |
GeoDataReplicationProperties, GeoDataReplicationPropertiesArgs
GeoDR Replication properties- Locations
[]NamespaceReplicaLocation
- A list of regions where replicas of the namespace are maintained.
- MaxReplicationLagDurationInSeconds
int
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
list(object)
- A list of regions where replicas of the namespace are maintained.
- max_replication_lag_duration_in_seconds
number
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
List<NamespaceReplicaLocation>
- A list of regions where replicas of the namespace are maintained.
- maxReplicationLagDurationInSeconds
Integer
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
NamespaceReplicaLocation[]
- A list of regions where replicas of the namespace are maintained.
- maxReplicationLagDurationInSeconds
number
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
Sequence[NamespaceReplicaLocation]
- A list of regions where replicas of the namespace are maintained.
- max_replication_lag_duration_in_seconds
int
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
List<Property Map>
- A list of regions where replicas of the namespace are maintained.
- maxReplicationLagDurationInSeconds
Number
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
GeoDataReplicationPropertiesResponse, GeoDataReplicationPropertiesResponseArgs
GeoDR Replication properties- Locations
[]NamespaceReplicaLocationResponse
- A list of regions where replicas of the namespace are maintained.
- MaxReplicationLagDurationInSeconds
int
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
list(object)
- A list of regions where replicas of the namespace are maintained.
- max_replication_lag_duration_in_seconds
number
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
List<NamespaceReplicaLocationResponse>
- A list of regions where replicas of the namespace are maintained.
- maxReplicationLagDurationInSeconds
Integer
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
NamespaceReplicaLocationResponse[]
- A list of regions where replicas of the namespace are maintained.
- maxReplicationLagDurationInSeconds
number
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
- locations
List<Property Map>
- A list of regions where replicas of the namespace are maintained.
- maxReplicationLagDurationInSeconds
Number
- The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.
Identity, IdentityArgs
Properties to configure User Assigned Identities for Bring your Own KeysIdentityResponse, IdentityResponseArgs
Properties to configure User Assigned Identities for Bring your Own Keys- PrincipalId
string
- ObjectId from the KeyVault
- TenantId
string
- TenantId from the KeyVault
- Type
string
- Type of managed service identity.
- UserAssignedIdentities
Dictionary<string, Pulumi.AzureNative.ServiceBus.Inputs.UserAssignedIdentityResponse>
- Properties for User Assigned Identities
- PrincipalId
string
- ObjectId from the KeyVault
- TenantId
string
- TenantId from the KeyVault
- Type
string
- Type of managed service identity.
- UserAssignedIdentities
map[string]UserAssignedIdentityResponse
- Properties for User Assigned Identities
- principalId
String
- ObjectId from the KeyVault
- tenantId
String
- TenantId from the KeyVault
- type
String
- Type of managed service identity.
- userAssignedIdentities
Map<String,UserAssignedIdentityResponse>
- Properties for User Assigned Identities
- principalId
string
- ObjectId from the KeyVault
- tenantId
string
- TenantId from the KeyVault
- type
string
- Type of managed service identity.
- userAssignedIdentities
{[key: string]: UserAssignedIdentityResponse}
- Properties for User Assigned Identities
IpAddressType, IpAddressTypeArgs
| Name | Value | Description |
|---|
| IPv4 | IPv4 | The namespace supports IPv4 addresses only. |
| DualStack | DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
| Name | Value | Description |
|---|
| IpAddressTypeIPv4 | IPv4 | The namespace supports IPv4 addresses only. |
| IpAddressTypeDualStack | DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
| Value | Description |
|---|
IPv4 | The namespace supports IPv4 addresses only. |
DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
| Name | Value | Description |
|---|
| IPv4 | IPv4 | The namespace supports IPv4 addresses only. |
| DualStack | DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
| Name | Value | Description |
|---|
| IPv4 | IPv4 | The namespace supports IPv4 addresses only. |
| DualStack | DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
| Name | Value | Description |
|---|
| I_PV4 | IPv4 | The namespace supports IPv4 addresses only. |
| DUAL_STACK | DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
| Value | Description |
|---|
IPv4 | The namespace supports IPv4 addresses only. |
DualStack | The namespace supports both IPv4 and IPv6 addresses (dual stack). |
KeySource, KeySourceArgs
| Name | Value |
|---|
| Microsoft_KeyVault | Microsoft.KeyVault |
| Name | Value |
|---|
| KeySource_Microsoft_KeyVault | Microsoft.KeyVault |
| Name | Value |
|---|
| Microsoft_KeyVault | Microsoft.KeyVault |
| Name | Value |
|---|
| Microsoft_KeyVault | Microsoft.KeyVault |
| Name | Value |
|---|
| MICROSOFT_KEY_VAULT | Microsoft.KeyVault |
KeyVaultProperties, KeyVaultPropertiesArgs
Properties to configure keyVault PropertiesKeyVaultPropertiesResponse, KeyVaultPropertiesResponseArgs
Properties to configure keyVault PropertiesManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| ManagedServiceIdentityTypeSystemAssigned | SystemAssigned |
| ManagedServiceIdentityTypeUserAssigned | UserAssigned |
| ManagedServiceIdentityType_SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| ManagedServiceIdentityTypeNone | None |
| Value |
|---|
SystemAssigned |
UserAssigned |
SystemAssigned, UserAssigned |
None |
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| SYSTEM_ASSIGNED | SystemAssigned |
| USER_ASSIGNED | UserAssigned |
| SYSTEM_ASSIGNED_USER_ASSIGNED | SystemAssigned, UserAssigned |
| NONE | None |
| Value |
|---|
SystemAssigned |
UserAssigned |
SystemAssigned, UserAssigned |
None |
Mode, ModeArgs
| Name | Value |
|---|
| Disabled | Disabled |
| Enabled | Enabled |
| Name | Value |
|---|
| ModeDisabled | Disabled |
| ModeEnabled | Enabled |
| Name | Value |
|---|
| Disabled | Disabled |
| Enabled | Enabled |
| Name | Value |
|---|
| Disabled | Disabled |
| Enabled | Enabled |
| Name | Value |
|---|
| DISABLED | Disabled |
| ENABLED | Enabled |
NamespaceReplicaLocation, NamespaceReplicaLocationArgs
Namespace replication propertiesNamespaceReplicaLocationResponse, NamespaceReplicaLocationResponseArgs
Namespace replication properties- LocationName
string
- Azure regions where a replica of the namespace is maintained
- RoleType
string
- GeoDR Role Types
- LocationName
string
- Azure regions where a replica of the namespace is maintained
- RoleType
string
- GeoDR Role Types
- location_name
string
- Azure regions where a replica of the namespace is maintained
- role_type
string
- GeoDR Role Types
- locationName
String
- Azure regions where a replica of the namespace is maintained
- roleType
String
- GeoDR Role Types
- locationName
string
- Azure regions where a replica of the namespace is maintained
- roleType
string
- GeoDR Role Types
- locationName
String
- Azure regions where a replica of the namespace is maintained
- roleType
String
- GeoDR Role Types
PrivateEndpoint, PrivateEndpointArgs
PrivateEndpoint information.- Id
string
- The ARM identifier for Private Endpoint.
- Id
string
- The ARM identifier for Private Endpoint.
- id
string
- The ARM identifier for Private Endpoint.
- id
String
- The ARM identifier for Private Endpoint.
- id
string
- The ARM identifier for Private Endpoint.
- id
str
- The ARM identifier for Private Endpoint.
- id
String
- The ARM identifier for Private Endpoint.
PrivateEndpointConnection, PrivateEndpointConnectionArgs
Properties of the PrivateEndpointConnection.PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs
Properties of the PrivateEndpointConnection.- id
string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location
string
- The geo-location where the resource lives
- name
string
- The name of the resource
- system_data
object
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private_endpoint
object
- The Private Endpoint resource for this Connection.
- private_link_service_connection_state
object
- Details about the state of the connection.
- provisioning_state
string
- Provisioning state of the Private Endpoint Connection.
- id
String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location
String
- The geo-location where the resource lives
- name
String
- The name of the resource
- systemData
Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- privateEndpoint
Property Map
- The Private Endpoint resource for this Connection.
- privateLinkServiceConnectionState
Property Map
- Details about the state of the connection.
- provisioningState
String
- Provisioning state of the Private Endpoint Connection.
PrivateEndpointResponse, PrivateEndpointResponseArgs
PrivateEndpoint information.- Id
string
- The ARM identifier for Private Endpoint.
- Id
string
- The ARM identifier for Private Endpoint.
- id
string
- The ARM identifier for Private Endpoint.
- id
String
- The ARM identifier for Private Endpoint.
- id
string
- The ARM identifier for Private Endpoint.
- id
str
- The ARM identifier for Private Endpoint.
- id
String
- The ARM identifier for Private Endpoint.
PrivateLinkConnectionStatus, PrivateLinkConnectionStatusArgs
| Name | Value |
|---|
| Pending | Pending |
| Approved | Approved |
| Rejected | Rejected |
| Disconnected | Disconnected |
| Name | Value |
|---|
| PrivateLinkConnectionStatusPending | Pending |
| PrivateLinkConnectionStatusApproved | Approved |
| PrivateLinkConnectionStatusRejected | Rejected |
| PrivateLinkConnectionStatusDisconnected | Disconnected |
| Value |
|---|
Pending |
Approved |
Rejected |
Disconnected |
| Name | Value |
|---|
| Pending | Pending |
| Approved | Approved |
| Rejected | Rejected |
| Disconnected | Disconnected |
| Name | Value |
|---|
| Pending | Pending |
| Approved | Approved |
| Rejected | Rejected |
| Disconnected | Disconnected |
| Name | Value |
|---|
| PENDING | Pending |
| APPROVED | Approved |
| REJECTED | Rejected |
| DISCONNECTED | Disconnected |
| Value |
|---|
Pending |
Approved |
Rejected |
Disconnected |
PublicNetworkAccess, PublicNetworkAccessArgs
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| SecuredByPerimeter | SecuredByPerimeter |
| Name | Value |
|---|
| PublicNetworkAccessEnabled | Enabled |
| PublicNetworkAccessDisabled | Disabled |
| PublicNetworkAccessSecuredByPerimeter | SecuredByPerimeter |
| Value |
|---|
Enabled |
Disabled |
SecuredByPerimeter |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| SecuredByPerimeter | SecuredByPerimeter |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| SecuredByPerimeter | SecuredByPerimeter |
| Name | Value |
|---|
| ENABLED | Enabled |
| DISABLED | Disabled |
| SECURED_BY_PERIMETER | SecuredByPerimeter |
| Value |
|---|
Enabled |
Disabled |
SecuredByPerimeter |
SBSku, SBSkuArgs
SKU of the namespace.- Name
Pulumi.AzureNative.ServiceBus.SkuName
- Name of this SKU.
- Capacity
int
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- Tier
Pulumi.AzureNative.ServiceBus.SkuTier
- The billing tier of this particular SKU.
- Name
SkuName
- Name of this SKU.
- Capacity
int
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- Tier
SkuTier
- The billing tier of this particular SKU.
- name
"Basic" | "Standard" | "Premium"
- Name of this SKU.
- capacity
number
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
"Basic" | "Standard" | "Premium"
- The billing tier of this particular SKU.
- name
SkuName
- Name of this SKU.
- capacity
Integer
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
SkuTier
- The billing tier of this particular SKU.
- name
SkuName
- Name of this SKU.
- capacity
number
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
SkuTier
- The billing tier of this particular SKU.
- name
SkuName
- Name of this SKU.
- capacity
int
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
SkuTier
- The billing tier of this particular SKU.
- name
"Basic" | "Standard" | "Premium"
- Name of this SKU.
- capacity
Number
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
"Basic" | "Standard" | "Premium"
- The billing tier of this particular SKU.
SBSkuResponse, SBSkuResponseArgs
SKU of the namespace.- Name
string
- Name of this SKU.
- Capacity
int
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- Tier
string
- The billing tier of this particular SKU.
- Name
string
- Name of this SKU.
- Capacity
int
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- Tier
string
- The billing tier of this particular SKU.
- name
string
- Name of this SKU.
- capacity
number
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
string
- The billing tier of this particular SKU.
- name
String
- Name of this SKU.
- capacity
Integer
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
String
- The billing tier of this particular SKU.
- name
string
- Name of this SKU.
- capacity
number
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
string
- The billing tier of this particular SKU.
- name
str
- Name of this SKU.
- capacity
int
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
str
- The billing tier of this particular SKU.
- name
String
- Name of this SKU.
- capacity
Number
- Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64
- tier
String
- The billing tier of this particular SKU.
SkuName, SkuNameArgs
| Name | Value |
|---|
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| SkuNameBasic | Basic |
| SkuNameStandard | Standard |
| SkuNamePremium | Premium |
| Value |
|---|
Basic |
Standard |
Premium |
| Name | Value |
|---|
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| BASIC | Basic |
| STANDARD | Standard |
| PREMIUM | Premium |
| Value |
|---|
Basic |
Standard |
Premium |
SkuTier, SkuTierArgs
| Name | Value |
|---|
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| SkuTierBasic | Basic |
| SkuTierStandard | Standard |
| SkuTierPremium | Premium |
| Value |
|---|
Basic |
Standard |
Premium |
| Name | Value |
|---|
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| BASIC | Basic |
| STANDARD | Standard |
| PREMIUM | Premium |
| Value |
|---|
Basic |
Standard |
Premium |
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
- createdAt
string
- The timestamp of resource creation (UTC).
- createdBy
string
- The identity that created the resource.
- createdByType
string
- The type of identity that created the resource.
- lastModifiedAt
string
- The timestamp of resource last modification (UTC)
- lastModifiedBy
string
- The identity that last modified the resource.
- lastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
TlsVersion, TlsVersionArgs
| Name | Value |
|---|
| TlsVersion_1_0 | 1.0 |
| TlsVersion_1_1 | 1.1 |
| TlsVersion_1_2 | 1.2 |
| TlsVersion_1_3 | 1.3 |
| Name | Value |
|---|
| TlsVersion_1_0 | 1.0 |
| TlsVersion_1_1 | 1.1 |
| TlsVersion_1_2 | 1.2 |
| TlsVersion_1_3 | 1.3 |
| Name | Value |
|---|
| _1_0 | 1.0 |
| _1_1 | 1.1 |
| _1_2 | 1.2 |
| _1_3 | 1.3 |
| Name | Value |
|---|
| TlsVersion_1_0 | 1.0 |
| TlsVersion_1_1 | 1.1 |
| TlsVersion_1_2 | 1.2 |
| TlsVersion_1_3 | 1.3 |
| Name | Value |
|---|
| TLS_VERSION_1_0 | 1.0 |
| TLS_VERSION_1_1 | 1.1 |
| TLS_VERSION_1_2 | 1.2 |
| TLS_VERSION_1_3 | 1.3 |
UserAssignedIdentityProperties, UserAssignedIdentityPropertiesArgs
UserAssignedIdentityPropertiesResponse, UserAssignedIdentityPropertiesResponseArgs
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
Recognized Dictionary value.- ClientId
string
- Client Id of user assigned identity
- PrincipalId
string
- Principal Id of user assigned identity
- ClientId
string
- Client Id of user assigned identity
- PrincipalId
string
- Principal Id of user assigned identity
- client_id
string
- Client Id of user assigned identity
- principal_id
string
- Principal Id of user assigned identity
- clientId
String
- Client Id of user assigned identity
- principalId
String
- Principal Id of user assigned identity
- clientId
string
- Client Id of user assigned identity
- principalId
string
- Principal Id of user assigned identity
- clientId
String
- Client Id of user assigned identity
- principalId
String
- Principal Id of user assigned identity
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicebus:Namespace sdk-Namespace-2924 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0