azure-native.eventhub.NamespaceNetworkRuleSet
Explore with Pulumi AI
Description of topic resource. Azure REST API version: 2022-10-01-preview. Prior API version in Azure Native 1.x: 2017-04-01.
Other available API versions: 2023-01-01-preview, 2024-01-01, 2024-05-01-preview.
Example Usage
NameSpaceNetworkRuleSetCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var namespaceNetworkRuleSet = new AzureNative.EventHub.NamespaceNetworkRuleSet("namespaceNetworkRuleSet", new()
{
DefaultAction = AzureNative.EventHub.DefaultAction.Deny,
IpRules = new[]
{
new AzureNative.EventHub.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.EventHub.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.1",
},
new AzureNative.EventHub.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.EventHub.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.2",
},
new AzureNative.EventHub.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.EventHub.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.3",
},
new AzureNative.EventHub.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.EventHub.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.4",
},
new AzureNative.EventHub.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.EventHub.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.5",
},
},
NamespaceName = "sdk-Namespace-6019",
ResourceGroupName = "ResourceGroup",
VirtualNetworkRules = new[]
{
new AzureNative.EventHub.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = true,
Subnet = new AzureNative.EventHub.Inputs.SubnetArgs
{
Id = "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2",
},
},
new AzureNative.EventHub.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = false,
Subnet = new AzureNative.EventHub.Inputs.SubnetArgs
{
Id = "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3",
},
},
new AzureNative.EventHub.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = false,
Subnet = new AzureNative.EventHub.Inputs.SubnetArgs
{
Id = "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6",
},
},
},
});
});
package main
import (
eventhub "github.com/pulumi/pulumi-azure-native-sdk/eventhub/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventhub.NewNamespaceNetworkRuleSet(ctx, "namespaceNetworkRuleSet", &eventhub.NamespaceNetworkRuleSetArgs{
DefaultAction: pulumi.String(eventhub.DefaultActionDeny),
IpRules: eventhub.NWRuleSetIpRulesArray{
&eventhub.NWRuleSetIpRulesArgs{
Action: pulumi.String(eventhub.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.1"),
},
&eventhub.NWRuleSetIpRulesArgs{
Action: pulumi.String(eventhub.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.2"),
},
&eventhub.NWRuleSetIpRulesArgs{
Action: pulumi.String(eventhub.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.3"),
},
&eventhub.NWRuleSetIpRulesArgs{
Action: pulumi.String(eventhub.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.4"),
},
&eventhub.NWRuleSetIpRulesArgs{
Action: pulumi.String(eventhub.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.5"),
},
},
NamespaceName: pulumi.String("sdk-Namespace-6019"),
ResourceGroupName: pulumi.String("ResourceGroup"),
VirtualNetworkRules: eventhub.NWRuleSetVirtualNetworkRulesArray{
&eventhub.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(true),
Subnet: &eventhub.SubnetArgs{
Id: pulumi.String("/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2"),
},
},
&eventhub.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
Subnet: &eventhub.SubnetArgs{
Id: pulumi.String("/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3"),
},
},
&eventhub.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
Subnet: &eventhub.SubnetArgs{
Id: pulumi.String("/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6"),
},
},
},
})
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.azurenative.eventhub.NamespaceNetworkRuleSet;
import com.pulumi.azurenative.eventhub.NamespaceNetworkRuleSetArgs;
import com.pulumi.azurenative.eventhub.inputs.NWRuleSetIpRulesArgs;
import com.pulumi.azurenative.eventhub.inputs.NWRuleSetVirtualNetworkRulesArgs;
import com.pulumi.azurenative.eventhub.inputs.SubnetArgs;
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 namespaceNetworkRuleSet = new NamespaceNetworkRuleSet("namespaceNetworkRuleSet", NamespaceNetworkRuleSetArgs.builder()
.defaultAction("Deny")
.ipRules(
NWRuleSetIpRulesArgs.builder()
.action("Allow")
.ipMask("1.1.1.1")
.build(),
NWRuleSetIpRulesArgs.builder()
.action("Allow")
.ipMask("1.1.1.2")
.build(),
NWRuleSetIpRulesArgs.builder()
.action("Allow")
.ipMask("1.1.1.3")
.build(),
NWRuleSetIpRulesArgs.builder()
.action("Allow")
.ipMask("1.1.1.4")
.build(),
NWRuleSetIpRulesArgs.builder()
.action("Allow")
.ipMask("1.1.1.5")
.build())
.namespaceName("sdk-Namespace-6019")
.resourceGroupName("ResourceGroup")
.virtualNetworkRules(
NWRuleSetVirtualNetworkRulesArgs.builder()
.ignoreMissingVnetServiceEndpoint(true)
.subnet(SubnetArgs.builder()
.id("/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2")
.build())
.build(),
NWRuleSetVirtualNetworkRulesArgs.builder()
.ignoreMissingVnetServiceEndpoint(false)
.subnet(SubnetArgs.builder()
.id("/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3")
.build())
.build(),
NWRuleSetVirtualNetworkRulesArgs.builder()
.ignoreMissingVnetServiceEndpoint(false)
.subnet(SubnetArgs.builder()
.id("/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
namespace_network_rule_set = azure_native.eventhub.NamespaceNetworkRuleSet("namespaceNetworkRuleSet",
default_action=azure_native.eventhub.DefaultAction.DENY,
ip_rules=[
{
"action": azure_native.eventhub.NetworkRuleIPAction.ALLOW,
"ip_mask": "1.1.1.1",
},
{
"action": azure_native.eventhub.NetworkRuleIPAction.ALLOW,
"ip_mask": "1.1.1.2",
},
{
"action": azure_native.eventhub.NetworkRuleIPAction.ALLOW,
"ip_mask": "1.1.1.3",
},
{
"action": azure_native.eventhub.NetworkRuleIPAction.ALLOW,
"ip_mask": "1.1.1.4",
},
{
"action": azure_native.eventhub.NetworkRuleIPAction.ALLOW,
"ip_mask": "1.1.1.5",
},
],
namespace_name="sdk-Namespace-6019",
resource_group_name="ResourceGroup",
virtual_network_rules=[
{
"ignore_missing_vnet_service_endpoint": True,
"subnet": {
"id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2",
},
},
{
"ignore_missing_vnet_service_endpoint": False,
"subnet": {
"id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3",
},
},
{
"ignore_missing_vnet_service_endpoint": False,
"subnet": {
"id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6",
},
},
])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const namespaceNetworkRuleSet = new azure_native.eventhub.NamespaceNetworkRuleSet("namespaceNetworkRuleSet", {
defaultAction: azure_native.eventhub.DefaultAction.Deny,
ipRules: [
{
action: azure_native.eventhub.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.1",
},
{
action: azure_native.eventhub.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.2",
},
{
action: azure_native.eventhub.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.3",
},
{
action: azure_native.eventhub.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.4",
},
{
action: azure_native.eventhub.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.5",
},
],
namespaceName: "sdk-Namespace-6019",
resourceGroupName: "ResourceGroup",
virtualNetworkRules: [
{
ignoreMissingVnetServiceEndpoint: true,
subnet: {
id: "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2",
},
},
{
ignoreMissingVnetServiceEndpoint: false,
subnet: {
id: "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3",
},
},
{
ignoreMissingVnetServiceEndpoint: false,
subnet: {
id: "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6",
},
},
],
});
resources:
namespaceNetworkRuleSet:
type: azure-native:eventhub:NamespaceNetworkRuleSet
properties:
defaultAction: Deny
ipRules:
- action: Allow
ipMask: 1.1.1.1
- action: Allow
ipMask: 1.1.1.2
- action: Allow
ipMask: 1.1.1.3
- action: Allow
ipMask: 1.1.1.4
- action: Allow
ipMask: 1.1.1.5
namespaceName: sdk-Namespace-6019
resourceGroupName: ResourceGroup
virtualNetworkRules:
- ignoreMissingVnetServiceEndpoint: true
subnet:
id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2
- ignoreMissingVnetServiceEndpoint: false
subnet:
id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3
- ignoreMissingVnetServiceEndpoint: false
subnet:
id: /subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6
Create NamespaceNetworkRuleSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NamespaceNetworkRuleSet(name: string, args: NamespaceNetworkRuleSetArgs, opts?: CustomResourceOptions);
@overload
def NamespaceNetworkRuleSet(resource_name: str,
args: NamespaceNetworkRuleSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NamespaceNetworkRuleSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
default_action: Optional[Union[str, DefaultAction]] = None,
ip_rules: Optional[Sequence[NWRuleSetIpRulesArgs]] = None,
public_network_access: Optional[Union[str, PublicNetworkAccessFlag]] = None,
trusted_service_access_enabled: Optional[bool] = None,
virtual_network_rules: Optional[Sequence[NWRuleSetVirtualNetworkRulesArgs]] = None)
func NewNamespaceNetworkRuleSet(ctx *Context, name string, args NamespaceNetworkRuleSetArgs, opts ...ResourceOption) (*NamespaceNetworkRuleSet, error)
public NamespaceNetworkRuleSet(string name, NamespaceNetworkRuleSetArgs args, CustomResourceOptions? opts = null)
public NamespaceNetworkRuleSet(String name, NamespaceNetworkRuleSetArgs args)
public NamespaceNetworkRuleSet(String name, NamespaceNetworkRuleSetArgs args, CustomResourceOptions options)
type: azure-native:eventhub:NamespaceNetworkRuleSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NamespaceNetworkRuleSetArgs
- 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 NamespaceNetworkRuleSetArgs
- 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 NamespaceNetworkRuleSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NamespaceNetworkRuleSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NamespaceNetworkRuleSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var namespaceNetworkRuleSetResource = new AzureNative.EventHub.NamespaceNetworkRuleSet("namespaceNetworkRuleSetResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
DefaultAction = "string",
IpRules = new[]
{
new AzureNative.EventHub.Inputs.NWRuleSetIpRulesArgs
{
Action = "string",
IpMask = "string",
},
},
PublicNetworkAccess = "string",
TrustedServiceAccessEnabled = false,
VirtualNetworkRules = new[]
{
new AzureNative.EventHub.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = false,
Subnet = new AzureNative.EventHub.Inputs.SubnetArgs
{
Id = "string",
},
},
},
});
example, err := eventhub.NewNamespaceNetworkRuleSet(ctx, "namespaceNetworkRuleSetResource", &eventhub.NamespaceNetworkRuleSetArgs{
NamespaceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DefaultAction: pulumi.String("string"),
IpRules: eventhub.NWRuleSetIpRulesArray{
&eventhub.NWRuleSetIpRulesArgs{
Action: pulumi.String("string"),
IpMask: pulumi.String("string"),
},
},
PublicNetworkAccess: pulumi.String("string"),
TrustedServiceAccessEnabled: pulumi.Bool(false),
VirtualNetworkRules: eventhub.NWRuleSetVirtualNetworkRulesArray{
&eventhub.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
Subnet: &eventhub.SubnetArgs{
Id: pulumi.String("string"),
},
},
},
})
var namespaceNetworkRuleSetResource = new NamespaceNetworkRuleSet("namespaceNetworkRuleSetResource", NamespaceNetworkRuleSetArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.defaultAction("string")
.ipRules(NWRuleSetIpRulesArgs.builder()
.action("string")
.ipMask("string")
.build())
.publicNetworkAccess("string")
.trustedServiceAccessEnabled(false)
.virtualNetworkRules(NWRuleSetVirtualNetworkRulesArgs.builder()
.ignoreMissingVnetServiceEndpoint(false)
.subnet(SubnetArgs.builder()
.id("string")
.build())
.build())
.build());
namespace_network_rule_set_resource = azure_native.eventhub.NamespaceNetworkRuleSet("namespaceNetworkRuleSetResource",
namespace_name="string",
resource_group_name="string",
default_action="string",
ip_rules=[{
"action": "string",
"ip_mask": "string",
}],
public_network_access="string",
trusted_service_access_enabled=False,
virtual_network_rules=[{
"ignore_missing_vnet_service_endpoint": False,
"subnet": {
"id": "string",
},
}])
const namespaceNetworkRuleSetResource = new azure_native.eventhub.NamespaceNetworkRuleSet("namespaceNetworkRuleSetResource", {
namespaceName: "string",
resourceGroupName: "string",
defaultAction: "string",
ipRules: [{
action: "string",
ipMask: "string",
}],
publicNetworkAccess: "string",
trustedServiceAccessEnabled: false,
virtualNetworkRules: [{
ignoreMissingVnetServiceEndpoint: false,
subnet: {
id: "string",
},
}],
});
type: azure-native:eventhub:NamespaceNetworkRuleSet
properties:
defaultAction: string
ipRules:
- action: string
ipMask: string
namespaceName: string
publicNetworkAccess: string
resourceGroupName: string
trustedServiceAccessEnabled: false
virtualNetworkRules:
- ignoreMissingVnetServiceEndpoint: false
subnet:
id: string
NamespaceNetworkRuleSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NamespaceNetworkRuleSet resource accepts the following input properties:
- Namespace
Name string - The Namespace name
- Resource
Group stringName - Name of the resource group within the azure subscription.
- Default
Action string | Pulumi.Azure Native. Event Hub. Default Action - Default Action for Network Rule Set
- Ip
Rules List<Pulumi.Azure Native. Event Hub. Inputs. NWRule Set Ip Rules> - List of IpRules
- Public
Network string | Pulumi.Access Azure Native. Event Hub. Public Network Access Flag - This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
- Trusted
Service boolAccess Enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- Virtual
Network List<Pulumi.Rules Azure Native. Event Hub. Inputs. NWRule Set Virtual Network Rules> - List VirtualNetwork Rules
- Namespace
Name string - The Namespace name
- Resource
Group stringName - Name of the resource group within the azure subscription.
- Default
Action string | DefaultAction - Default Action for Network Rule Set
- Ip
Rules []NWRuleSet Ip Rules Args - List of IpRules
- Public
Network string | PublicAccess Network Access Flag - This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
- Trusted
Service boolAccess Enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- Virtual
Network []NWRuleRules Set Virtual Network Rules Args - List VirtualNetwork Rules
- namespace
Name String - The Namespace name
- resource
Group StringName - Name of the resource group within the azure subscription.
- default
Action String | DefaultAction - Default Action for Network Rule Set
- ip
Rules List<NWRuleSet Ip Rules> - List of IpRules
- public
Network String | PublicAccess Network Access Flag - This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
- trusted
Service BooleanAccess Enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- virtual
Network List<NWRuleRules Set Virtual Network Rules> - List VirtualNetwork Rules
- namespace
Name string - The Namespace name
- resource
Group stringName - Name of the resource group within the azure subscription.
- default
Action string | DefaultAction - Default Action for Network Rule Set
- ip
Rules NWRuleSet Ip Rules[] - List of IpRules
- public
Network string | PublicAccess Network Access Flag - This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
- trusted
Service booleanAccess Enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- virtual
Network NWRuleRules Set Virtual Network Rules[] - List VirtualNetwork Rules
- namespace_
name str - The Namespace name
- resource_
group_ strname - Name of the resource group within the azure subscription.
- default_
action str | DefaultAction - Default Action for Network Rule Set
- ip_
rules Sequence[NWRuleSet Ip Rules Args] - List of IpRules
- public_
network_ str | Publicaccess Network Access Flag - This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
- trusted_
service_ boolaccess_ enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- virtual_
network_ Sequence[NWRulerules Set Virtual Network Rules Args] - List VirtualNetwork Rules
- namespace
Name String - The Namespace name
- resource
Group StringName - Name of the resource group within the azure subscription.
- default
Action String | "Allow" | "Deny" - Default Action for Network Rule Set
- ip
Rules List<Property Map> - List of IpRules
- public
Network String | "Enabled" | "Disabled" | "SecuredAccess By Perimeter" - This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
- trusted
Service BooleanAccess Enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- virtual
Network List<Property Map>Rules - List VirtualNetwork Rules
Outputs
All input properties are implicitly available as output properties. Additionally, the NamespaceNetworkRuleSet resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Event Hub. Outputs. System Data Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_
data SystemData Response - The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data Property Map - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Supporting Types
DefaultAction, DefaultActionArgs
- Allow
- Allow
- Deny
- Deny
- Default
Action Allow - Allow
- Default
Action Deny - Deny
- Allow
- Allow
- Deny
- Deny
- Allow
- Allow
- Deny
- Deny
- ALLOW
- Allow
- DENY
- Deny
- "Allow"
- Allow
- "Deny"
- Deny
NWRuleSetIpRules, NWRuleSetIpRulesArgs
- Action
string | Pulumi.
Azure Native. Event Hub. Network Rule IPAction - The IP Filter Action
- Ip
Mask string - IP Mask
- Action
string | Network
Rule IPAction - The IP Filter Action
- Ip
Mask string - IP Mask
- action
String | Network
Rule IPAction - The IP Filter Action
- ip
Mask String - IP Mask
- action
string | Network
Rule IPAction - The IP Filter Action
- ip
Mask string - IP Mask
- action
str | Network
Rule IPAction - The IP Filter Action
- ip_
mask str - IP Mask
NWRuleSetIpRulesResponse, NWRuleSetIpRulesResponseArgs
NWRuleSetVirtualNetworkRules, NWRuleSetVirtualNetworkRulesArgs
- Ignore
Missing boolVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- Subnet
Pulumi.
Azure Native. Event Hub. Inputs. Subnet - Subnet properties
- Ignore
Missing boolVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- Subnet Subnet
- Subnet properties
- ignore
Missing BooleanVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet Subnet
- Subnet properties
- ignore
Missing booleanVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet Subnet
- Subnet properties
- ignore_
missing_ boolvnet_ service_ endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet Subnet
- Subnet properties
- ignore
Missing BooleanVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet Property Map
- Subnet properties
NWRuleSetVirtualNetworkRulesResponse, NWRuleSetVirtualNetworkRulesResponseArgs
- Ignore
Missing boolVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- Subnet
Pulumi.
Azure Native. Event Hub. Inputs. Subnet Response - Subnet properties
- Ignore
Missing boolVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- Subnet
Subnet
Response - Subnet properties
- ignore
Missing BooleanVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet
Subnet
Response - Subnet properties
- ignore
Missing booleanVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet
Subnet
Response - Subnet properties
- ignore_
missing_ boolvnet_ service_ endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet
Subnet
Response - Subnet properties
- ignore
Missing BooleanVnet Service Endpoint - Value that indicates whether to ignore missing Vnet Service Endpoint
- subnet Property Map
- Subnet properties
NetworkRuleIPAction, NetworkRuleIPActionArgs
- Allow
- Allow
- Network
Rule IPAction Allow - Allow
- Allow
- Allow
- Allow
- Allow
- ALLOW
- Allow
- "Allow"
- Allow
PublicNetworkAccessFlag, PublicNetworkAccessFlagArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Secured
By Perimeter - SecuredByPerimeter
- Public
Network Access Flag Enabled - Enabled
- Public
Network Access Flag Disabled - Disabled
- Public
Network Access Flag Secured By Perimeter - SecuredByPerimeter
- Enabled
- Enabled
- Disabled
- Disabled
- Secured
By Perimeter - SecuredByPerimeter
- Enabled
- Enabled
- Disabled
- Disabled
- Secured
By Perimeter - SecuredByPerimeter
- ENABLED
- Enabled
- DISABLED
- Disabled
- SECURED_BY_PERIMETER
- SecuredByPerimeter
- "Enabled"
- Enabled
- "Disabled"
- Disabled
- "Secured
By Perimeter" - SecuredByPerimeter
Subnet, SubnetArgs
- Id string
- Resource ID of Virtual Network Subnet
- Id string
- Resource ID of Virtual Network Subnet
- id String
- Resource ID of Virtual Network Subnet
- id string
- Resource ID of Virtual Network Subnet
- id str
- Resource ID of Virtual Network Subnet
- id String
- Resource ID of Virtual Network Subnet
SubnetResponse, SubnetResponseArgs
- Id string
- Resource ID of Virtual Network Subnet
- Id string
- Resource ID of Virtual Network Subnet
- id String
- Resource ID of Virtual Network Subnet
- id string
- Resource ID of Virtual Network Subnet
- id str
- Resource ID of Virtual Network Subnet
- id String
- Resource ID of Virtual Network Subnet
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:eventhub:NamespaceNetworkRuleSet default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0