Namespace Args
    data class NamespaceArgs(val alternateName: Output<String>? = null, val disableLocalAuth: Output<Boolean>? = null, val encryption: Output<EncryptionArgs>? = null, val identity: Output<IdentityArgs>? = null, val location: Output<String>? = null, val minimumTlsVersion: Output<Either<String, TlsVersion>>? = null, val namespaceName: Output<String>? = null, val privateEndpointConnections: Output<List<PrivateEndpointConnectionArgs>>? = null, val publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SBSkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val zoneRedundant: Output<Boolean>? = null) : ConvertibleToJava<NamespaceArgs> 
Description of a namespace resource. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 2017-04-01. Other available API versions: 2015-08-01, 2022-10-01-preview.
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()
    {
        Location = "South Central US",
        NamespaceName = "sdk-Namespace2924",
        ResourceGroupName = "ArunMonocle",
        Sku = new AzureNative.ServiceBus.Inputs.SBSkuArgs
        {
            Name = "Standard",
            Tier = "Standard",
        },
        Tags =
        {
            { "tag1", "value1" },
            { "tag2", "value2" },
        },
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/servicebus/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicebus.NewNamespace(ctx, "namespace", &servicebus.NamespaceArgs{
			Location:          pulumi.String("South Central US"),
			NamespaceName:     pulumi.String("sdk-Namespace2924"),
			ResourceGroupName: pulumi.String("ArunMonocle"),
			Sku: &servicebus.SBSkuArgs{
				Name: pulumi.String("Standard"),
				Tier: pulumi.String("Standard"),
			},
			Tags: pulumi.StringMap{
				"tag1": pulumi.String("value1"),
				"tag2": pulumi.String("value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
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 java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var namespace = new Namespace("namespace", NamespaceArgs.builder()
            .location("South Central US")
            .namespaceName("sdk-Namespace2924")
            .resourceGroupName("ArunMonocle")
            .sku(Map.ofEntries(
                Map.entry("name", "Standard"),
                Map.entry("tier", "Standard")
            ))
            .tags(Map.ofEntries(
                Map.entry("tag1", "value1"),
                Map.entry("tag2", "value2")
            ))
            .build());
    }
}Content copied to clipboard
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}Content copied to clipboard
Constructors
Link copied to clipboard
                fun NamespaceArgs(alternateName: Output<String>? = null, disableLocalAuth: Output<Boolean>? = null, encryption: Output<EncryptionArgs>? = null, identity: Output<IdentityArgs>? = null, location: Output<String>? = null, minimumTlsVersion: Output<Either<String, TlsVersion>>? = null, namespaceName: Output<String>? = null, privateEndpointConnections: Output<List<PrivateEndpointConnectionArgs>>? = null, publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, resourceGroupName: Output<String>? = null, sku: Output<SBSkuArgs>? = null, tags: Output<Map<String, String>>? = null, zoneRedundant: Output<Boolean>? = null)