We recommend using Azure Native.
azure.eventhub.EventHubNamespace
Explore with Pulumi AI
Manages an EventHub Namespace.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleEventHubNamespace = new azure.eventhub.EventHubNamespace("example", {
    name: "example-namespace",
    location: example.location,
    resourceGroupName: example.name,
    sku: "Standard",
    capacity: 2,
    tags: {
        environment: "Production",
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_event_hub_namespace = azure.eventhub.EventHubNamespace("example",
    name="example-namespace",
    location=example.location,
    resource_group_name=example.name,
    sku="Standard",
    capacity=2,
    tags={
        "environment": "Production",
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/eventhub"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{
			Name:              pulumi.String("example-namespace"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("Standard"),
			Capacity:          pulumi.Int(2),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleEventHubNamespace = new Azure.EventHub.EventHubNamespace("example", new()
    {
        Name = "example-namespace",
        Location = example.Location,
        ResourceGroupName = example.Name,
        Sku = "Standard",
        Capacity = 2,
        Tags = 
        {
            { "environment", "Production" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.eventhub.EventHubNamespace;
import com.pulumi.azure.eventhub.EventHubNamespaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleEventHubNamespace = new EventHubNamespace("exampleEventHubNamespace", EventHubNamespaceArgs.builder()
            .name("example-namespace")
            .location(example.location())
            .resourceGroupName(example.name())
            .sku("Standard")
            .capacity(2)
            .tags(Map.of("environment", "Production"))
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleEventHubNamespace:
    type: azure:eventhub:EventHubNamespace
    name: example
    properties:
      name: example-namespace
      location: ${example.location}
      resourceGroupName: ${example.name}
      sku: Standard
      capacity: 2
      tags:
        environment: Production
Create EventHubNamespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventHubNamespace(name: string, args: EventHubNamespaceArgs, opts?: CustomResourceOptions);@overload
def EventHubNamespace(resource_name: str,
                      args: EventHubNamespaceArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def EventHubNamespace(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_group_name: Optional[str] = None,
                      sku: Optional[str] = None,
                      maximum_throughput_units: Optional[int] = None,
                      identity: Optional[EventHubNamespaceIdentityArgs] = None,
                      local_authentication_enabled: Optional[bool] = None,
                      location: Optional[str] = None,
                      auto_inflate_enabled: Optional[bool] = None,
                      minimum_tls_version: Optional[str] = None,
                      name: Optional[str] = None,
                      network_rulesets: Optional[EventHubNamespaceNetworkRulesetsArgs] = None,
                      public_network_access_enabled: Optional[bool] = None,
                      dedicated_cluster_id: Optional[str] = None,
                      capacity: Optional[int] = None,
                      tags: Optional[Mapping[str, str]] = None)func NewEventHubNamespace(ctx *Context, name string, args EventHubNamespaceArgs, opts ...ResourceOption) (*EventHubNamespace, error)public EventHubNamespace(string name, EventHubNamespaceArgs args, CustomResourceOptions? opts = null)
public EventHubNamespace(String name, EventHubNamespaceArgs args)
public EventHubNamespace(String name, EventHubNamespaceArgs args, CustomResourceOptions options)
type: azure:eventhub:EventHubNamespace
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 EventHubNamespaceArgs
- 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 EventHubNamespaceArgs
- 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 EventHubNamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventHubNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventHubNamespaceArgs
- 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 eventHubNamespaceResource = new Azure.EventHub.EventHubNamespace("eventHubNamespaceResource", new()
{
    ResourceGroupName = "string",
    Sku = "string",
    MaximumThroughputUnits = 0,
    Identity = new Azure.EventHub.Inputs.EventHubNamespaceIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    LocalAuthenticationEnabled = false,
    Location = "string",
    AutoInflateEnabled = false,
    MinimumTlsVersion = "string",
    Name = "string",
    NetworkRulesets = new Azure.EventHub.Inputs.EventHubNamespaceNetworkRulesetsArgs
    {
        DefaultAction = "string",
        IpRules = new[]
        {
            new Azure.EventHub.Inputs.EventHubNamespaceNetworkRulesetsIpRuleArgs
            {
                IpMask = "string",
                Action = "string",
            },
        },
        PublicNetworkAccessEnabled = false,
        TrustedServiceAccessEnabled = false,
        VirtualNetworkRules = new[]
        {
            new Azure.EventHub.Inputs.EventHubNamespaceNetworkRulesetsVirtualNetworkRuleArgs
            {
                SubnetId = "string",
                IgnoreMissingVirtualNetworkServiceEndpoint = false,
            },
        },
    },
    PublicNetworkAccessEnabled = false,
    DedicatedClusterId = "string",
    Capacity = 0,
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := eventhub.NewEventHubNamespace(ctx, "eventHubNamespaceResource", &eventhub.EventHubNamespaceArgs{
	ResourceGroupName:      pulumi.String("string"),
	Sku:                    pulumi.String("string"),
	MaximumThroughputUnits: pulumi.Int(0),
	Identity: &eventhub.EventHubNamespaceIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	LocalAuthenticationEnabled: pulumi.Bool(false),
	Location:                   pulumi.String("string"),
	AutoInflateEnabled:         pulumi.Bool(false),
	MinimumTlsVersion:          pulumi.String("string"),
	Name:                       pulumi.String("string"),
	NetworkRulesets: &eventhub.EventHubNamespaceNetworkRulesetsArgs{
		DefaultAction: pulumi.String("string"),
		IpRules: eventhub.EventHubNamespaceNetworkRulesetsIpRuleArray{
			&eventhub.EventHubNamespaceNetworkRulesetsIpRuleArgs{
				IpMask: pulumi.String("string"),
				Action: pulumi.String("string"),
			},
		},
		PublicNetworkAccessEnabled:  pulumi.Bool(false),
		TrustedServiceAccessEnabled: pulumi.Bool(false),
		VirtualNetworkRules: eventhub.EventHubNamespaceNetworkRulesetsVirtualNetworkRuleArray{
			&eventhub.EventHubNamespaceNetworkRulesetsVirtualNetworkRuleArgs{
				SubnetId: pulumi.String("string"),
				IgnoreMissingVirtualNetworkServiceEndpoint: pulumi.Bool(false),
			},
		},
	},
	PublicNetworkAccessEnabled: pulumi.Bool(false),
	DedicatedClusterId:         pulumi.String("string"),
	Capacity:                   pulumi.Int(0),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var eventHubNamespaceResource = new EventHubNamespace("eventHubNamespaceResource", EventHubNamespaceArgs.builder()
    .resourceGroupName("string")
    .sku("string")
    .maximumThroughputUnits(0)
    .identity(EventHubNamespaceIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .localAuthenticationEnabled(false)
    .location("string")
    .autoInflateEnabled(false)
    .minimumTlsVersion("string")
    .name("string")
    .networkRulesets(EventHubNamespaceNetworkRulesetsArgs.builder()
        .defaultAction("string")
        .ipRules(EventHubNamespaceNetworkRulesetsIpRuleArgs.builder()
            .ipMask("string")
            .action("string")
            .build())
        .publicNetworkAccessEnabled(false)
        .trustedServiceAccessEnabled(false)
        .virtualNetworkRules(EventHubNamespaceNetworkRulesetsVirtualNetworkRuleArgs.builder()
            .subnetId("string")
            .ignoreMissingVirtualNetworkServiceEndpoint(false)
            .build())
        .build())
    .publicNetworkAccessEnabled(false)
    .dedicatedClusterId("string")
    .capacity(0)
    .tags(Map.of("string", "string"))
    .build());
event_hub_namespace_resource = azure.eventhub.EventHubNamespace("eventHubNamespaceResource",
    resource_group_name="string",
    sku="string",
    maximum_throughput_units=0,
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    local_authentication_enabled=False,
    location="string",
    auto_inflate_enabled=False,
    minimum_tls_version="string",
    name="string",
    network_rulesets={
        "default_action": "string",
        "ip_rules": [{
            "ip_mask": "string",
            "action": "string",
        }],
        "public_network_access_enabled": False,
        "trusted_service_access_enabled": False,
        "virtual_network_rules": [{
            "subnet_id": "string",
            "ignore_missing_virtual_network_service_endpoint": False,
        }],
    },
    public_network_access_enabled=False,
    dedicated_cluster_id="string",
    capacity=0,
    tags={
        "string": "string",
    })
const eventHubNamespaceResource = new azure.eventhub.EventHubNamespace("eventHubNamespaceResource", {
    resourceGroupName: "string",
    sku: "string",
    maximumThroughputUnits: 0,
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    localAuthenticationEnabled: false,
    location: "string",
    autoInflateEnabled: false,
    minimumTlsVersion: "string",
    name: "string",
    networkRulesets: {
        defaultAction: "string",
        ipRules: [{
            ipMask: "string",
            action: "string",
        }],
        publicNetworkAccessEnabled: false,
        trustedServiceAccessEnabled: false,
        virtualNetworkRules: [{
            subnetId: "string",
            ignoreMissingVirtualNetworkServiceEndpoint: false,
        }],
    },
    publicNetworkAccessEnabled: false,
    dedicatedClusterId: "string",
    capacity: 0,
    tags: {
        string: "string",
    },
});
type: azure:eventhub:EventHubNamespace
properties:
    autoInflateEnabled: false
    capacity: 0
    dedicatedClusterId: string
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    localAuthenticationEnabled: false
    location: string
    maximumThroughputUnits: 0
    minimumTlsVersion: string
    name: string
    networkRulesets:
        defaultAction: string
        ipRules:
            - action: string
              ipMask: string
        publicNetworkAccessEnabled: false
        trustedServiceAccessEnabled: false
        virtualNetworkRules:
            - ignoreMissingVirtualNetworkServiceEndpoint: false
              subnetId: string
    publicNetworkAccessEnabled: false
    resourceGroupName: string
    sku: string
    tags:
        string: string
EventHubNamespace 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 EventHubNamespace resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- Sku string
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- AutoInflate boolEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- Capacity int
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- DedicatedCluster stringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- Identity
EventHub Namespace Identity 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- MaximumThroughput intUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- MinimumTls stringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- Name string
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- NetworkRulesets EventHub Namespace Network Rulesets 
- A network_rulesetsblock as defined below.
- PublicNetwork boolAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ResourceGroup stringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- Sku string
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- AutoInflate boolEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- Capacity int
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- DedicatedCluster stringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- Identity
EventHub Namespace Identity Args 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- MaximumThroughput intUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- MinimumTls stringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- Name string
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- NetworkRulesets EventHub Namespace Network Rulesets Args 
- A network_rulesetsblock as defined below.
- PublicNetwork boolAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- map[string]string
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku String
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- autoInflate BooleanEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity Integer
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicatedCluster StringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- identity
EventHub Namespace Identity 
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximumThroughput IntegerUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimumTls StringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name String
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- networkRulesets EventHub Namespace Network Rulesets 
- A network_rulesetsblock as defined below.
- publicNetwork BooleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- Map<String,String>
- A mapping of tags to assign to the resource.
- resourceGroup stringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku string
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- autoInflate booleanEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity number
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicatedCluster stringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- identity
EventHub Namespace Identity 
- An identityblock as defined below.
- localAuthentication booleanEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximumThroughput numberUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimumTls stringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name string
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- networkRulesets EventHub Namespace Network Rulesets 
- A network_rulesetsblock as defined below.
- publicNetwork booleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- resource_group_ strname 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku str
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- auto_inflate_ boolenabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity int
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicated_cluster_ strid 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- identity
EventHub Namespace Identity Args 
- An identityblock as defined below.
- local_authentication_ boolenabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximum_throughput_ intunits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimum_tls_ strversion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name str
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network_rulesets EventHub Namespace Network Rulesets Args 
- A network_rulesetsblock as defined below.
- public_network_ boolaccess_ enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku String
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- autoInflate BooleanEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity Number
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicatedCluster StringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- identity Property Map
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximumThroughput NumberUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimumTls StringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name String
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- networkRulesets Property Map
- A network_rulesetsblock as defined below.
- publicNetwork BooleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventHubNamespace resource produces the following output properties:
- DefaultPrimary stringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultPrimary stringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultPrimary stringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultSecondary stringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- Id string
- The provider-assigned unique ID for this managed resource.
- DefaultPrimary stringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultPrimary stringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultPrimary stringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultSecondary stringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- Id string
- The provider-assigned unique ID for this managed resource.
- defaultPrimary StringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- defaultPrimary StringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultPrimary StringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultSecondary StringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- id String
- The provider-assigned unique ID for this managed resource.
- defaultPrimary stringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- defaultPrimary stringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultPrimary stringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- defaultSecondary stringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- defaultSecondary stringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultSecondary 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_ strconnection_ string_ alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- 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_ strconnection_ string_ alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- default_secondary_ strkey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- id str
- The provider-assigned unique ID for this managed resource.
- defaultPrimary StringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- defaultPrimary StringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultPrimary StringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultSecondary StringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EventHubNamespace Resource
Get an existing EventHubNamespace 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?: EventHubNamespaceState, opts?: CustomResourceOptions): EventHubNamespace@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_inflate_enabled: Optional[bool] = None,
        capacity: Optional[int] = None,
        dedicated_cluster_id: Optional[str] = None,
        default_primary_connection_string: Optional[str] = None,
        default_primary_connection_string_alias: Optional[str] = None,
        default_primary_key: Optional[str] = None,
        default_secondary_connection_string: Optional[str] = None,
        default_secondary_connection_string_alias: Optional[str] = None,
        default_secondary_key: Optional[str] = None,
        identity: Optional[EventHubNamespaceIdentityArgs] = None,
        local_authentication_enabled: Optional[bool] = None,
        location: Optional[str] = None,
        maximum_throughput_units: Optional[int] = None,
        minimum_tls_version: Optional[str] = None,
        name: Optional[str] = None,
        network_rulesets: Optional[EventHubNamespaceNetworkRulesetsArgs] = None,
        public_network_access_enabled: Optional[bool] = None,
        resource_group_name: Optional[str] = None,
        sku: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> EventHubNamespacefunc GetEventHubNamespace(ctx *Context, name string, id IDInput, state *EventHubNamespaceState, opts ...ResourceOption) (*EventHubNamespace, error)public static EventHubNamespace Get(string name, Input<string> id, EventHubNamespaceState? state, CustomResourceOptions? opts = null)public static EventHubNamespace get(String name, Output<String> id, EventHubNamespaceState state, CustomResourceOptions options)resources:  _:    type: azure:eventhub:EventHubNamespace    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.
- AutoInflate boolEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- Capacity int
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- DedicatedCluster stringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- DefaultPrimary stringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultPrimary stringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultPrimary stringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultSecondary stringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- Identity
EventHub Namespace Identity 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- MaximumThroughput intUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- MinimumTls stringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- Name string
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- NetworkRulesets EventHub Namespace Network Rulesets 
- A network_rulesetsblock as defined below.
- PublicNetwork boolAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- ResourceGroup stringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- Sku string
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- AutoInflate boolEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- Capacity int
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- DedicatedCluster stringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- DefaultPrimary stringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultPrimary stringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultPrimary stringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- DefaultSecondary stringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- DefaultSecondary stringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- Identity
EventHub Namespace Identity Args 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- MaximumThroughput intUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- MinimumTls stringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- Name string
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- NetworkRulesets EventHub Namespace Network Rulesets Args 
- A network_rulesetsblock as defined below.
- PublicNetwork boolAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- ResourceGroup stringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- Sku string
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- map[string]string
- A mapping of tags to assign to the resource.
- autoInflate BooleanEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity Integer
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicatedCluster StringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- defaultPrimary StringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- defaultPrimary StringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultPrimary StringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultSecondary StringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- identity
EventHub Namespace Identity 
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximumThroughput IntegerUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimumTls StringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name String
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- networkRulesets EventHub Namespace Network Rulesets 
- A network_rulesetsblock as defined below.
- publicNetwork BooleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- resourceGroup StringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku String
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- Map<String,String>
- A mapping of tags to assign to the resource.
- autoInflate booleanEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity number
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicatedCluster stringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- defaultPrimary stringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- defaultPrimary stringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultPrimary stringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- defaultSecondary stringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- defaultSecondary stringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultSecondary stringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- identity
EventHub Namespace Identity 
- An identityblock as defined below.
- localAuthentication booleanEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximumThroughput numberUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimumTls stringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name string
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- networkRulesets EventHub Namespace Network Rulesets 
- A network_rulesetsblock as defined below.
- publicNetwork booleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- resourceGroup stringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku string
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- auto_inflate_ boolenabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity int
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicated_cluster_ strid 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- default_primary_ strconnection_ string 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- default_primary_ strconnection_ string_ alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- 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_ strconnection_ string_ alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- default_secondary_ strkey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- identity
EventHub Namespace Identity Args 
- An identityblock as defined below.
- local_authentication_ boolenabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximum_throughput_ intunits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimum_tls_ strversion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name str
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network_rulesets EventHub Namespace Network Rulesets Args 
- A network_rulesetsblock as defined below.
- public_network_ boolaccess_ enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- resource_group_ strname 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku str
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- autoInflate BooleanEnabled 
- Is Auto Inflate enabled for the EventHub Namespace?
- capacity Number
- Specifies the Capacity / Throughput Units for a StandardSKU namespace. Default capacity has a maximum of2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1.
- dedicatedCluster StringId 
- Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- defaultPrimary StringConnection String 
- The primary connection string for the authorization rule RootManageSharedAccessKey.
- defaultPrimary StringConnection String Alias 
- The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultPrimary StringKey 
- The primary access key for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String 
- The secondary connection string for the authorization rule RootManageSharedAccessKey.
- defaultSecondary StringConnection String Alias 
- The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.
- defaultSecondary StringKey 
- The secondary access key for the authorization rule RootManageSharedAccessKey.
- identity Property Map
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Is SAS authentication enabled for the EventHub Namespace? Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- maximumThroughput NumberUnits 
- Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1-20.
- minimumTls StringVersion 
- The minimum supported TLS version for this EventHub Namespace. Valid values are: - 1.0,- 1.1and- 1.2. Defaults to- 1.2.- Note Azure Services will require TLS 1.2+ by August 2025, please see this announcement for more. 
- name String
- Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- networkRulesets Property Map
- A network_rulesetsblock as defined below.
- publicNetwork BooleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to true.
- resourceGroup StringName 
- The name of the resource group in which to create the namespace. Changing this forces a new resource to be created.
- sku String
- Defines which tier to use. Valid options are Basic,Standard, andPremium. Please note that setting this field toPremiumwill force the creation of a new resource.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
EventHubNamespaceIdentity, EventHubNamespaceIdentityArgs        
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssignedorUserAssigned.
- IdentityIds List<string>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.- Note: Due to the limitation of the current Azure API, once an EventHub Namespace has been assigned an identity, it cannot be removed. 
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssignedorUserAssigned.
- IdentityIds []string
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.- Note: Due to the limitation of the current Azure API, once an EventHub Namespace has been assigned an identity, it cannot be removed. 
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssignedorUserAssigned.
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.- Note: Due to the limitation of the current Azure API, once an EventHub Namespace has been assigned an identity, it cannot be removed. 
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssignedorUserAssigned.
- identityIds string[]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.- Note: Due to the limitation of the current Azure API, once an EventHub Namespace has been assigned an identity, it cannot be removed. 
- principalId string
- The Principal ID associated with this Managed Service Identity.
- tenantId string
- The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssignedorUserAssigned.
- identity_ids Sequence[str]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.- Note: Due to the limitation of the current Azure API, once an EventHub Namespace has been assigned an identity, it cannot be removed. 
- principal_id str
- The Principal ID associated with this Managed Service Identity.
- tenant_id str
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssignedorUserAssigned.
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.- Note: Due to the limitation of the current Azure API, once an EventHub Namespace has been assigned an identity, it cannot be removed. 
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
EventHubNamespaceNetworkRulesets, EventHubNamespaceNetworkRulesetsArgs          
- DefaultAction string
- The default action to take when a rule is not matched. Possible values are AllowandDeny.
- IpRules List<EventHub Namespace Network Rulesets Ip Rule> 
- One or more ip_ruleblocks as defined below.
- PublicNetwork boolAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to - true.- Note: The public network access setting at the network rule sets level should be the same as it's at the namespace level. 
- TrustedService boolAccess Enabled 
- Whether Trusted Microsoft Services are allowed to bypass firewall.
- VirtualNetwork List<EventRules Hub Namespace Network Rulesets Virtual Network Rule> 
- One or more virtual_network_ruleblocks as defined below.
- DefaultAction string
- The default action to take when a rule is not matched. Possible values are AllowandDeny.
- IpRules []EventHub Namespace Network Rulesets Ip Rule 
- One or more ip_ruleblocks as defined below.
- PublicNetwork boolAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to - true.- Note: The public network access setting at the network rule sets level should be the same as it's at the namespace level. 
- TrustedService boolAccess Enabled 
- Whether Trusted Microsoft Services are allowed to bypass firewall.
- VirtualNetwork []EventRules Hub Namespace Network Rulesets Virtual Network Rule 
- One or more virtual_network_ruleblocks as defined below.
- defaultAction String
- The default action to take when a rule is not matched. Possible values are AllowandDeny.
- ipRules List<EventHub Namespace Network Rulesets Ip Rule> 
- One or more ip_ruleblocks as defined below.
- publicNetwork BooleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to - true.- Note: The public network access setting at the network rule sets level should be the same as it's at the namespace level. 
- trustedService BooleanAccess Enabled 
- Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtualNetwork List<EventRules Hub Namespace Network Rulesets Virtual Network Rule> 
- One or more virtual_network_ruleblocks as defined below.
- defaultAction string
- The default action to take when a rule is not matched. Possible values are AllowandDeny.
- ipRules EventHub Namespace Network Rulesets Ip Rule[] 
- One or more ip_ruleblocks as defined below.
- publicNetwork booleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to - true.- Note: The public network access setting at the network rule sets level should be the same as it's at the namespace level. 
- trustedService booleanAccess Enabled 
- Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtualNetwork EventRules Hub Namespace Network Rulesets Virtual Network Rule[] 
- One or more virtual_network_ruleblocks as defined below.
- default_action str
- The default action to take when a rule is not matched. Possible values are AllowandDeny.
- ip_rules Sequence[EventHub Namespace Network Rulesets Ip Rule] 
- One or more ip_ruleblocks as defined below.
- public_network_ boolaccess_ enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to - true.- Note: The public network access setting at the network rule sets level should be the same as it's at the namespace level. 
- trusted_service_ boolaccess_ enabled 
- Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtual_network_ Sequence[Eventrules Hub Namespace Network Rulesets Virtual Network Rule] 
- One or more virtual_network_ruleblocks as defined below.
- defaultAction String
- The default action to take when a rule is not matched. Possible values are AllowandDeny.
- ipRules List<Property Map>
- One or more ip_ruleblocks as defined below.
- publicNetwork BooleanAccess Enabled 
- Is public network access enabled for the EventHub Namespace? Defaults to - true.- Note: The public network access setting at the network rule sets level should be the same as it's at the namespace level. 
- trustedService BooleanAccess Enabled 
- Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtualNetwork List<Property Map>Rules 
- One or more virtual_network_ruleblocks as defined below.
EventHubNamespaceNetworkRulesetsIpRule, EventHubNamespaceNetworkRulesetsIpRuleArgs              
EventHubNamespaceNetworkRulesetsVirtualNetworkRule, EventHubNamespaceNetworkRulesetsVirtualNetworkRuleArgs                
- SubnetId string
- The id of the subnet to match on.
- IgnoreMissing boolVirtual Network Service Endpoint 
- Are missing virtual network service endpoints ignored?
- SubnetId string
- The id of the subnet to match on.
- IgnoreMissing boolVirtual Network Service Endpoint 
- Are missing virtual network service endpoints ignored?
- subnetId String
- The id of the subnet to match on.
- ignoreMissing BooleanVirtual Network Service Endpoint 
- Are missing virtual network service endpoints ignored?
- subnetId string
- The id of the subnet to match on.
- ignoreMissing booleanVirtual Network Service Endpoint 
- Are missing virtual network service endpoints ignored?
- subnet_id str
- The id of the subnet to match on.
- ignore_missing_ boolvirtual_ network_ service_ endpoint 
- Are missing virtual network service endpoints ignored?
- subnetId String
- The id of the subnet to match on.
- ignoreMissing BooleanVirtual Network Service Endpoint 
- Are missing virtual network service endpoints ignored?
Import
EventHub Namespaces can be imported using the resource id, e.g.
$ pulumi import azure:eventhub/eventHubNamespace:EventHubNamespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventHub/namespaces/namespace1
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.