We recommend using Azure Native.
azure.eventhub.EventHubNamespace
Explore with Pulumi AI
Manages an EventHub Namespace.
Example Usage
using System.Collections.Generic;
using System.Linq;
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:
- Resource
Group 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 toPremium
will 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
Standard
SKU namespace. Default capacity has a maximum of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- Dedicated
Cluster stringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- Identity
Event
Hub Namespace Identity An
identity
block as defined below.- Local
Authentication 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.
- Maximum
Throughput intUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- Minimum
Tls stringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- Name string
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- Network
Rulesets EventHub Namespace Network Rulesets A
network_rulesets
block as defined below.- Public
Network 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.
- 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- Resource
Group 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 toPremium
will 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
Standard
SKU namespace. Default capacity has a maximum of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- Dedicated
Cluster stringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- Identity
Event
Hub Namespace Identity Args An
identity
block as defined below.- Local
Authentication 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.
- Maximum
Throughput intUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- Minimum
Tls stringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- Name string
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_rulesets
block as defined below.- Public
Network 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.
- 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- resource
Group 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 toPremium
will force the creation of a new resource.- auto
Inflate BooleanEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- dedicated
Cluster StringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- identity
Event
Hub Namespace Identity An
identity
block as defined below.- local
Authentication 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.
- maximum
Throughput IntegerUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- minimum
Tls StringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- name String
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network
Rulesets EventHub Namespace Network Rulesets A
network_rulesets
block as defined below.- public
Network 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.
- zone
Redundant 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- resource
Group 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 toPremium
will force the creation of a new resource.- auto
Inflate booleanEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- dedicated
Cluster stringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- identity
Event
Hub Namespace Identity An
identity
block as defined below.- local
Authentication 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.
- maximum
Throughput numberUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- minimum
Tls stringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- name string
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network
Rulesets EventHub Namespace Network Rulesets A
network_rulesets
block as defined below.- public
Network 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.
- zone
Redundant 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- 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 toPremium
will 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
Standard
SKU 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
Event
Hub Namespace Identity Args An
identity
block 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.1
and1.2
. The current default minimum TLS version is1.2
.- 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_rulesets
block 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.
- 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- resource
Group 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 toPremium
will force the creation of a new resource.- auto
Inflate BooleanEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- dedicated
Cluster 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
identity
block as defined below.- local
Authentication 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.
- maximum
Throughput NumberUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- minimum
Tls StringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- name String
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network
Rulesets Property Map A
network_rulesets
block as defined below.- public
Network 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.
- zone
Redundant 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventHubNamespace resource produces the following output properties:
- Default
Primary stringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Primary stringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Primary stringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Secondary stringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- Id string
The provider-assigned unique ID for this managed resource.
- Default
Primary stringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Primary stringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Primary stringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Secondary stringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- Id string
The provider-assigned unique ID for this managed resource.
- default
Primary StringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Primary StringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Primary StringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Secondary StringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- id String
The provider-assigned unique ID for this managed resource.
- default
Primary stringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Primary stringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Primary stringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- default
Secondary stringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Secondary stringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Secondary stringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- id string
The provider-assigned unique ID for this managed resource.
- default_
primary_ strconnection_ string The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default_
primary_ 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.
- default
Primary StringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Primary StringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Primary StringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Secondary StringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- id String
The provider-assigned unique ID for this managed resource.
Look up Existing 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.
- Auto
Inflate boolEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- Dedicated
Cluster stringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- Default
Primary stringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Primary stringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Primary stringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Secondary stringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- Identity
Event
Hub Namespace Identity An
identity
block as defined below.- Local
Authentication 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.
- Maximum
Throughput intUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- Minimum
Tls stringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- Name string
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- Network
Rulesets EventHub Namespace Network Rulesets A
network_rulesets
block as defined below.- Public
Network boolAccess Enabled Is public network access enabled for the EventHub Namespace? Defaults to
true
.- Resource
Group 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 toPremium
will force the creation of a new resource.- Dictionary<string, string>
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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- Auto
Inflate boolEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- Dedicated
Cluster stringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- Default
Primary stringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Primary stringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Primary stringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- Default
Secondary stringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- Default
Secondary stringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- Identity
Event
Hub Namespace Identity Args An
identity
block as defined below.- Local
Authentication 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.
- Maximum
Throughput intUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- Minimum
Tls stringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- Name string
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_rulesets
block as defined below.- Public
Network boolAccess Enabled Is public network access enabled for the EventHub Namespace? Defaults to
true
.- Resource
Group 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 toPremium
will force the creation of a new resource.- map[string]string
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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- auto
Inflate BooleanEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- dedicated
Cluster StringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- default
Primary StringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Primary StringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Primary StringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Secondary StringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- identity
Event
Hub Namespace Identity An
identity
block as defined below.- local
Authentication 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.
- maximum
Throughput IntegerUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- minimum
Tls StringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- name String
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network
Rulesets EventHub Namespace Network Rulesets A
network_rulesets
block as defined below.- public
Network BooleanAccess Enabled Is public network access enabled for the EventHub Namespace? Defaults to
true
.- resource
Group 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 toPremium
will force the creation of a new resource.- Map<String,String>
A mapping of tags to assign to the resource.
- zone
Redundant 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- auto
Inflate booleanEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- dedicated
Cluster stringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- default
Primary stringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Primary stringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Primary stringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- default
Secondary stringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Secondary stringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Secondary stringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- identity
Event
Hub Namespace Identity An
identity
block as defined below.- local
Authentication 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.
- maximum
Throughput numberUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- minimum
Tls stringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- name string
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network
Rulesets EventHub Namespace Network Rulesets A
network_rulesets
block as defined below.- public
Network booleanAccess Enabled Is public network access enabled for the EventHub Namespace? Defaults to
true
.- resource
Group 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 toPremium
will force the creation of a new resource.- {[key: string]: string}
A mapping of tags to assign to the resource.
- zone
Redundant 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- auto_
inflate_ boolenabled 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 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
Event
Hub Namespace Identity Args An
identity
block 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.1
and1.2
. The current default minimum TLS version is1.2
.- 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_rulesets
block 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 toPremium
will force the creation of a new resource.- 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
- auto
Inflate BooleanEnabled 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 of2
, but can be increased in blocks of 2 on a committed purchase basis. Defaults to1
.- dedicated
Cluster StringId Specifies the ID of the EventHub Dedicated Cluster where this Namespace should created. Changing this forces a new resource to be created.
- default
Primary StringConnection String The primary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Primary StringConnection String Alias The alias of the primary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Primary StringKey The primary access key for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String The secondary connection string for the authorization rule
RootManageSharedAccessKey
.- default
Secondary StringConnection String Alias The alias of the secondary connection string for the authorization rule
RootManageSharedAccessKey
, which is generated when disaster recovery is enabled.- default
Secondary StringKey The secondary access key for the authorization rule
RootManageSharedAccessKey
.- identity Property Map
An
identity
block as defined below.- local
Authentication 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.
- maximum
Throughput NumberUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from
1
-20
.- minimum
Tls StringVersion The minimum supported TLS version for this EventHub Namespace. Valid values are:
1.0
,1.1
and1.2
. The current default minimum TLS version is1.2
.- name String
Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created.
- network
Rulesets Property Map A
network_rulesets
block as defined below.- public
Network BooleanAccess Enabled Is public network access enabled for the EventHub Namespace? Defaults to
true
.- resource
Group 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 toPremium
will force the creation of a new resource.- Map<String>
A mapping of tags to assign to the resource.
- zone
Redundant 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
.Note: For eventhub premium namespace,
zone_redundant
is computed by api based on the availability zone feature in each region. User's input will be overridden. Please explicitly sets the property totrue
when creating the premium namespace in a region that supports availability zone since the default value isfalse
in 3.0 provider.
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
SystemAssigned
orUserAssigned
.- Identity
Ids List<string> Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, 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 string The Principal ID associated with this Managed Service Identity.
- Tenant
Id 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
orUserAssigned
.- Identity
Ids []string Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, 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 string The Principal ID associated with this Managed Service Identity.
- Tenant
Id 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
orUserAssigned
.- identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, 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 String The Principal ID associated with this Managed Service Identity.
- tenant
Id 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
orUserAssigned
.- identity
Ids string[] Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, 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 string The Principal ID associated with this Managed Service Identity.
- tenant
Id 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
orUserAssigned
.- 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
type
is set toUserAssigned
orSystemAssigned, 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
SystemAssigned
orUserAssigned
.- identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this EventHub namespace.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, 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 String The Principal ID associated with this Managed Service Identity.
- tenant
Id String The Tenant ID associated with this Managed Service Identity.
EventHubNamespaceNetworkRulesets, EventHubNamespaceNetworkRulesetsArgs
- Default
Action string The default action to take when a rule is not matched. Possible values are
Allow
andDeny
.- Ip
Rules List<EventHub Namespace Network Rulesets Ip Rule> One or more
ip_rule
blocks 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 List<EventRules Hub Namespace Network Rulesets Virtual Network Rule> One or more
virtual_network_rule
blocks as defined below.
- Default
Action string The default action to take when a rule is not matched. Possible values are
Allow
andDeny
.- Ip
Rules []EventHub Namespace Network Rulesets Ip Rule One or more
ip_rule
blocks 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 []EventRules Hub Namespace Network Rulesets Virtual Network Rule One or more
virtual_network_rule
blocks as defined below.
- default
Action String The default action to take when a rule is not matched. Possible values are
Allow
andDeny
.- ip
Rules List<EventHub Namespace Network Rulesets Ip Rule> One or more
ip_rule
blocks as defined below.- public
Network 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.
- trusted
Service BooleanAccess Enabled Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtual
Network List<EventRules Hub Namespace Network Rulesets Virtual Network Rule> One or more
virtual_network_rule
blocks as defined below.
- default
Action string The default action to take when a rule is not matched. Possible values are
Allow
andDeny
.- ip
Rules EventHub Namespace Network Rulesets Ip Rule[] One or more
ip_rule
blocks as defined below.- public
Network 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.
- trusted
Service booleanAccess Enabled Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtual
Network EventRules Hub Namespace Network Rulesets Virtual Network Rule[] 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
andDeny
.- ip_
rules Sequence[EventHub Namespace Network Rulesets Ip Rule] One or more
ip_rule
blocks 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_rule
blocks as defined below.
- default
Action String The default action to take when a rule is not matched. Possible values are
Allow
andDeny
.- ip
Rules List<Property Map> One or more
ip_rule
blocks as defined below.- public
Network 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.
- trusted
Service BooleanAccess Enabled Whether Trusted Microsoft Services are allowed to bypass firewall.
- virtual
Network List<Property Map>Rules One or more
virtual_network_rule
blocks as defined below.
EventHubNamespaceNetworkRulesetsIpRule, EventHubNamespaceNetworkRulesetsIpRuleArgs
EventHubNamespaceNetworkRulesetsVirtualNetworkRule, EventHubNamespaceNetworkRulesetsVirtualNetworkRuleArgs
- Subnet
Id string The id of the subnet to match on.
- Ignore
Missing boolVirtual Network Service Endpoint Are missing virtual network service endpoints ignored?
- Subnet
Id string The id of the subnet to match on.
- Ignore
Missing boolVirtual Network Service Endpoint Are missing virtual network service endpoints ignored?
- subnet
Id String The id of the subnet to match on.
- ignore
Missing BooleanVirtual Network Service Endpoint Are missing virtual network service endpoints ignored?
- subnet
Id string The id of the subnet to match on.
- ignore
Missing 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?
- subnet
Id String The id of the subnet to match on.
- ignore
Missing 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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.