azure logo
Azure Classic v5.38.0, Mar 21 23

azure.eventhub.EventHubNamespace

Manages an EventHub Namespace.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleEventHubNamespace = new Azure.EventHub.EventHubNamespace("exampleEventHubNamespace", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "Standard",
        Capacity = 2,
        Tags = 
        {
            { "environment", "Production" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventhub"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
			Capacity:          pulumi.Int(2),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleEventHubNamespace = new EventHubNamespace("exampleEventHubNamespace", EventHubNamespaceArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .sku("Standard")
            .capacity(2)
            .tags(Map.of("environment", "Production"))
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_event_hub_namespace = azure.eventhub.EventHubNamespace("exampleEventHubNamespace",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    sku="Standard",
    capacity=2,
    tags={
        "environment": "Production",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleEventHubNamespace = new azure.eventhub.EventHubNamespace("exampleEventHubNamespace", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    sku: "Standard",
    capacity: 2,
    tags: {
        environment: "Production",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleEventHubNamespace:
    type: azure:eventhub:EventHubNamespace
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      sku: Standard
      capacity: 2
      tags:
        environment: Production

Create EventHubNamespace Resource

new EventHubNamespace(name: string, args: EventHubNamespaceArgs, opts?: CustomResourceOptions);
@overload
def EventHubNamespace(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      auto_inflate_enabled: Optional[bool] = None,
                      capacity: Optional[int] = None,
                      dedicated_cluster_id: 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,
                      zone_redundant: Optional[bool] = None)
@overload
def EventHubNamespace(resource_name: str,
                      args: EventHubNamespaceArgs,
                      opts: Optional[ResourceOptions] = 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.

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.

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

The EventHubNamespace resource accepts the following input properties:

ResourceGroupName string

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

AutoInflateEnabled bool

Is Auto Inflate enabled for the EventHub Namespace?

Capacity int

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

DedicatedClusterId string

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

Identity EventHubNamespaceIdentityArgs

An identity block as defined below.

LocalAuthenticationEnabled bool

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.

MaximumThroughputUnits int

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

MinimumTlsVersion string

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

Name string

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

NetworkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

PublicNetworkAccessEnabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

ZoneRedundant bool

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

ResourceGroupName string

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

AutoInflateEnabled bool

Is Auto Inflate enabled for the EventHub Namespace?

Capacity int

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

DedicatedClusterId string

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

Identity EventHubNamespaceIdentityArgs

An identity block as defined below.

LocalAuthenticationEnabled bool

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.

MaximumThroughputUnits int

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

MinimumTlsVersion string

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

Name string

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

NetworkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

PublicNetworkAccessEnabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

Tags map[string]string

A mapping of tags to assign to the resource.

ZoneRedundant bool

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

resourceGroupName String

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

autoInflateEnabled Boolean

Is Auto Inflate enabled for the EventHub Namespace?

capacity Integer

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicatedClusterId String

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

identity EventHubNamespaceIdentityArgs

An identity block as defined below.

localAuthenticationEnabled Boolean

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.

maximumThroughputUnits Integer

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimumTlsVersion String

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name String

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

networkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

publicNetworkAccessEnabled Boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

tags Map<String,String>

A mapping of tags to assign to the resource.

zoneRedundant Boolean

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

resourceGroupName string

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

autoInflateEnabled boolean

Is Auto Inflate enabled for the EventHub Namespace?

capacity number

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicatedClusterId string

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

identity EventHubNamespaceIdentityArgs

An identity block as defined below.

localAuthenticationEnabled boolean

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.

maximumThroughputUnits number

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimumTlsVersion string

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name string

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

networkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

publicNetworkAccessEnabled boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zoneRedundant boolean

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

resource_group_name str

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

auto_inflate_enabled bool

Is Auto Inflate enabled for the EventHub Namespace?

capacity int

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicated_cluster_id str

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

identity EventHubNamespaceIdentityArgs

An identity block as defined below.

local_authentication_enabled bool

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_units int

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimum_tls_version str

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name str

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

network_rulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

public_network_access_enabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

zone_redundant bool

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

resourceGroupName String

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

autoInflateEnabled Boolean

Is Auto Inflate enabled for the EventHub Namespace?

capacity Number

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicatedClusterId String

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 identity block as defined below.

localAuthenticationEnabled Boolean

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.

maximumThroughputUnits Number

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimumTlsVersion String

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name String

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

networkRulesets Property Map

A network_rulesets block as defined below.

publicNetworkAccessEnabled Boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

tags Map<String>

A mapping of tags to assign to the resource.

zoneRedundant Boolean

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

Outputs

All input properties are implicitly available as output properties. Additionally, the EventHubNamespace resource produces the following output properties:

DefaultPrimaryConnectionString string

The primary connection string for the authorization rule RootManageSharedAccessKey.

DefaultPrimaryConnectionStringAlias string

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultPrimaryKey string

The primary access key for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionString string

The secondary connection string for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionStringAlias string

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultSecondaryKey string

The secondary access key for the authorization rule RootManageSharedAccessKey.

Id string

The provider-assigned unique ID for this managed resource.

DefaultPrimaryConnectionString string

The primary connection string for the authorization rule RootManageSharedAccessKey.

DefaultPrimaryConnectionStringAlias string

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultPrimaryKey string

The primary access key for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionString string

The secondary connection string for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionStringAlias string

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultSecondaryKey string

The secondary access key for the authorization rule RootManageSharedAccessKey.

Id string

The provider-assigned unique ID for this managed resource.

defaultPrimaryConnectionString String

The primary connection string for the authorization rule RootManageSharedAccessKey.

defaultPrimaryConnectionStringAlias String

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultPrimaryKey String

The primary access key for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionString String

The secondary connection string for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionStringAlias String

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultSecondaryKey String

The secondary access key for the authorization rule RootManageSharedAccessKey.

id String

The provider-assigned unique ID for this managed resource.

defaultPrimaryConnectionString string

The primary connection string for the authorization rule RootManageSharedAccessKey.

defaultPrimaryConnectionStringAlias string

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultPrimaryKey string

The primary access key for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionString string

The secondary connection string for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionStringAlias string

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultSecondaryKey string

The secondary access key for the authorization rule RootManageSharedAccessKey.

id string

The provider-assigned unique ID for this managed resource.

default_primary_connection_string str

The primary connection string for the authorization rule RootManageSharedAccessKey.

default_primary_connection_string_alias str

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

default_primary_key str

The primary access key for the authorization rule RootManageSharedAccessKey.

default_secondary_connection_string str

The secondary connection string for the authorization rule RootManageSharedAccessKey.

default_secondary_connection_string_alias str

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

default_secondary_key str

The secondary access key for the authorization rule RootManageSharedAccessKey.

id str

The provider-assigned unique ID for this managed resource.

defaultPrimaryConnectionString String

The primary connection string for the authorization rule RootManageSharedAccessKey.

defaultPrimaryConnectionStringAlias String

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultPrimaryKey String

The primary access key for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionString String

The secondary connection string for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionStringAlias String

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultSecondaryKey String

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,
        zone_redundant: Optional[bool] = None) -> EventHubNamespace
func 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)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AutoInflateEnabled bool

Is Auto Inflate enabled for the EventHub Namespace?

Capacity int

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

DedicatedClusterId string

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

DefaultPrimaryConnectionString string

The primary connection string for the authorization rule RootManageSharedAccessKey.

DefaultPrimaryConnectionStringAlias string

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultPrimaryKey string

The primary access key for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionString string

The secondary connection string for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionStringAlias string

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultSecondaryKey string

The secondary access key for the authorization rule RootManageSharedAccessKey.

Identity EventHubNamespaceIdentityArgs

An identity block as defined below.

LocalAuthenticationEnabled bool

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.

MaximumThroughputUnits int

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

MinimumTlsVersion string

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

Name string

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

NetworkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

PublicNetworkAccessEnabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

ResourceGroupName string

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

ZoneRedundant bool

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

AutoInflateEnabled bool

Is Auto Inflate enabled for the EventHub Namespace?

Capacity int

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

DedicatedClusterId string

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

DefaultPrimaryConnectionString string

The primary connection string for the authorization rule RootManageSharedAccessKey.

DefaultPrimaryConnectionStringAlias string

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultPrimaryKey string

The primary access key for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionString string

The secondary connection string for the authorization rule RootManageSharedAccessKey.

DefaultSecondaryConnectionStringAlias string

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

DefaultSecondaryKey string

The secondary access key for the authorization rule RootManageSharedAccessKey.

Identity EventHubNamespaceIdentityArgs

An identity block as defined below.

LocalAuthenticationEnabled bool

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.

MaximumThroughputUnits int

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

MinimumTlsVersion string

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

Name string

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

NetworkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

PublicNetworkAccessEnabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

ResourceGroupName string

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

Tags map[string]string

A mapping of tags to assign to the resource.

ZoneRedundant bool

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

autoInflateEnabled Boolean

Is Auto Inflate enabled for the EventHub Namespace?

capacity Integer

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicatedClusterId String

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

defaultPrimaryConnectionString String

The primary connection string for the authorization rule RootManageSharedAccessKey.

defaultPrimaryConnectionStringAlias String

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultPrimaryKey String

The primary access key for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionString String

The secondary connection string for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionStringAlias String

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultSecondaryKey String

The secondary access key for the authorization rule RootManageSharedAccessKey.

identity EventHubNamespaceIdentityArgs

An identity block as defined below.

localAuthenticationEnabled Boolean

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.

maximumThroughputUnits Integer

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimumTlsVersion String

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name String

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

networkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

publicNetworkAccessEnabled Boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

resourceGroupName String

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

tags Map<String,String>

A mapping of tags to assign to the resource.

zoneRedundant Boolean

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

autoInflateEnabled boolean

Is Auto Inflate enabled for the EventHub Namespace?

capacity number

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicatedClusterId string

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

defaultPrimaryConnectionString string

The primary connection string for the authorization rule RootManageSharedAccessKey.

defaultPrimaryConnectionStringAlias string

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultPrimaryKey string

The primary access key for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionString string

The secondary connection string for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionStringAlias string

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultSecondaryKey string

The secondary access key for the authorization rule RootManageSharedAccessKey.

identity EventHubNamespaceIdentityArgs

An identity block as defined below.

localAuthenticationEnabled boolean

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.

maximumThroughputUnits number

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimumTlsVersion string

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name string

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

networkRulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

publicNetworkAccessEnabled boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

resourceGroupName string

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zoneRedundant boolean

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

auto_inflate_enabled bool

Is Auto Inflate enabled for the EventHub Namespace?

capacity int

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicated_cluster_id str

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

default_primary_connection_string str

The primary connection string for the authorization rule RootManageSharedAccessKey.

default_primary_connection_string_alias str

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

default_primary_key str

The primary access key for the authorization rule RootManageSharedAccessKey.

default_secondary_connection_string str

The secondary connection string for the authorization rule RootManageSharedAccessKey.

default_secondary_connection_string_alias str

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

default_secondary_key str

The secondary access key for the authorization rule RootManageSharedAccessKey.

identity EventHubNamespaceIdentityArgs

An identity block as defined below.

local_authentication_enabled bool

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_units int

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimum_tls_version str

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name str

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

network_rulesets EventHubNamespaceNetworkRulesetsArgs

A network_rulesets block as defined below.

public_network_access_enabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

resource_group_name str

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

zone_redundant bool

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

autoInflateEnabled Boolean

Is Auto Inflate enabled for the EventHub Namespace?

capacity Number

Specifies the Capacity / Throughput Units for a Standard SKU namespace. Default capacity has a maximum of 2, but can be increased in blocks of 2 on a committed purchase basis. Defaults to 1.

dedicatedClusterId String

Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.

defaultPrimaryConnectionString String

The primary connection string for the authorization rule RootManageSharedAccessKey.

defaultPrimaryConnectionStringAlias String

The alias of the primary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultPrimaryKey String

The primary access key for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionString String

The secondary connection string for the authorization rule RootManageSharedAccessKey.

defaultSecondaryConnectionStringAlias String

The alias of the secondary connection string for the authorization rule RootManageSharedAccessKey, which is generated when disaster recovery is enabled.

defaultSecondaryKey String

The secondary access key for the authorization rule RootManageSharedAccessKey.

identity Property Map

An identity block as defined below.

localAuthenticationEnabled Boolean

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.

maximumThroughputUnits Number

Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from 1 - 20.

minimumTlsVersion String

The minimum supported TLS version for this EventHub Namespace. Valid values are: 1.0, 1.1 and 1.2. The current default minimum TLS version is 1.2.

name String

Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.

networkRulesets Property Map

A network_rulesets block as defined below.

publicNetworkAccessEnabled Boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

resourceGroupName String

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, and Premium. Please note that setting this field to Premium will force the creation of a new resource.

tags Map<String>

A mapping of tags to assign to the resource.

zoneRedundant Boolean

Specifies if the EventHub Namespace should be Zone Redundant (created across Availability Zones). Changing this forces a new resource to be created. Defaults to false.

Supporting Types

EventHubNamespaceIdentity

Type string

Specifies the type of Managed Service Identity that should be configured on this Event Hub Namespace. Possible values are SystemAssigned or UserAssigned.

IdentityIds List<string>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.

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 SystemAssigned or UserAssigned.

IdentityIds []string

Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.

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 SystemAssigned or UserAssigned.

identityIds List<String>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.

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 SystemAssigned or UserAssigned.

identityIds string[]

Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.

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 SystemAssigned or UserAssigned.

identity_ids Sequence[str]

Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.

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 SystemAssigned or UserAssigned.

identityIds List<String>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.

principalId String

The Principal ID associated with this Managed Service Identity.

tenantId String

The Tenant ID associated with this Managed Service Identity.

EventHubNamespaceNetworkRulesets

DefaultAction string

The default action to take when a rule is not matched. Possible values are Allow and Deny.

IpRules List<EventHubNamespaceNetworkRulesetsIpRule>

One or more ip_rule blocks as defined below.

PublicNetworkAccessEnabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

TrustedServiceAccessEnabled bool

Whether Trusted Microsoft Services are allowed to bypass firewall.

VirtualNetworkRules List<EventHubNamespaceNetworkRulesetsVirtualNetworkRule>

One or more virtual_network_rule blocks as defined below.

DefaultAction string

The default action to take when a rule is not matched. Possible values are Allow and Deny.

IpRules []EventHubNamespaceNetworkRulesetsIpRule

One or more ip_rule blocks as defined below.

PublicNetworkAccessEnabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

TrustedServiceAccessEnabled bool

Whether Trusted Microsoft Services are allowed to bypass firewall.

VirtualNetworkRules []EventHubNamespaceNetworkRulesetsVirtualNetworkRule

One or more virtual_network_rule blocks as defined below.

defaultAction String

The default action to take when a rule is not matched. Possible values are Allow and Deny.

ipRules List<EventHubNamespaceNetworkRulesetsIpRule>

One or more ip_rule blocks as defined below.

publicNetworkAccessEnabled Boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

trustedServiceAccessEnabled Boolean

Whether Trusted Microsoft Services are allowed to bypass firewall.

virtualNetworkRules List<EventHubNamespaceNetworkRulesetsVirtualNetworkRule>

One or more virtual_network_rule blocks as defined below.

defaultAction string

The default action to take when a rule is not matched. Possible values are Allow and Deny.

ipRules EventHubNamespaceNetworkRulesetsIpRule[]

One or more ip_rule blocks as defined below.

publicNetworkAccessEnabled boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

trustedServiceAccessEnabled boolean

Whether Trusted Microsoft Services are allowed to bypass firewall.

virtualNetworkRules EventHubNamespaceNetworkRulesetsVirtualNetworkRule[]

One or more virtual_network_rule blocks as defined below.

default_action str

The default action to take when a rule is not matched. Possible values are Allow and Deny.

ip_rules Sequence[EventHubNamespaceNetworkRulesetsIpRule]

One or more ip_rule blocks as defined below.

public_network_access_enabled bool

Is public network access enabled for the EventHub Namespace? Defaults to true.

trusted_service_access_enabled bool

Whether Trusted Microsoft Services are allowed to bypass firewall.

virtual_network_rules Sequence[EventHubNamespaceNetworkRulesetsVirtualNetworkRule]

One or more virtual_network_rule blocks as defined below.

defaultAction String

The default action to take when a rule is not matched. Possible values are Allow and Deny.

ipRules List<Property Map>

One or more ip_rule blocks as defined below.

publicNetworkAccessEnabled Boolean

Is public network access enabled for the EventHub Namespace? Defaults to true.

trustedServiceAccessEnabled Boolean

Whether Trusted Microsoft Services are allowed to bypass firewall.

virtualNetworkRules List<Property Map>

One or more virtual_network_rule blocks as defined below.

EventHubNamespaceNetworkRulesetsIpRule

IpMask string

The IP mask to match on.

Action string

The action to take when the rule is matched. Possible values are Allow.

IpMask string

The IP mask to match on.

Action string

The action to take when the rule is matched. Possible values are Allow.

ipMask String

The IP mask to match on.

action String

The action to take when the rule is matched. Possible values are Allow.

ipMask string

The IP mask to match on.

action string

The action to take when the rule is matched. Possible values are Allow.

ip_mask str

The IP mask to match on.

action str

The action to take when the rule is matched. Possible values are Allow.

ipMask String

The IP mask to match on.

action String

The action to take when the rule is matched. Possible values are Allow.

EventHubNamespaceNetworkRulesetsVirtualNetworkRule

SubnetId string

The id of the subnet to match on.

IgnoreMissingVirtualNetworkServiceEndpoint bool

Are missing virtual network service endpoints ignored?

SubnetId string

The id of the subnet to match on.

IgnoreMissingVirtualNetworkServiceEndpoint bool

Are missing virtual network service endpoints ignored?

subnetId String

The id of the subnet to match on.

ignoreMissingVirtualNetworkServiceEndpoint Boolean

Are missing virtual network service endpoints ignored?

subnetId string

The id of the subnet to match on.

ignoreMissingVirtualNetworkServiceEndpoint boolean

Are missing virtual network service endpoints ignored?

subnet_id str

The id of the subnet to match on.

ignore_missing_virtual_network_service_endpoint bool

Are missing virtual network service endpoints ignored?

subnetId String

The id of the subnet to match on.

ignoreMissingVirtualNetworkServiceEndpoint Boolean

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

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.