1. Packages
  2. Azure Native
  3. API Docs
  4. eventhub
  5. NamespaceNetworkRuleSet
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.eventhub.NamespaceNetworkRuleSet

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    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",
            "ipMask": "string",
        }],
        public_network_access="string",
        trusted_service_access_enabled=False,
        virtual_network_rules=[{
            "ignoreMissingVnetServiceEndpoint": 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

    The NamespaceNetworkRuleSet resource accepts the following input properties:

    NamespaceName string
    The Namespace name
    ResourceGroupName string
    Name of the resource group within the azure subscription.
    DefaultAction string | Pulumi.AzureNative.EventHub.DefaultAction
    Default Action for Network Rule Set
    IpRules List<Pulumi.AzureNative.EventHub.Inputs.NWRuleSetIpRules>
    List of IpRules
    PublicNetworkAccess string | Pulumi.AzureNative.EventHub.PublicNetworkAccessFlag
    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.
    TrustedServiceAccessEnabled bool
    Value that indicates whether Trusted Service Access is Enabled or not.
    VirtualNetworkRules List<Pulumi.AzureNative.EventHub.Inputs.NWRuleSetVirtualNetworkRules>
    List VirtualNetwork Rules
    NamespaceName string
    The Namespace name
    ResourceGroupName string
    Name of the resource group within the azure subscription.
    DefaultAction string | DefaultAction
    Default Action for Network Rule Set
    IpRules []NWRuleSetIpRulesArgs
    List of IpRules
    PublicNetworkAccess string | PublicNetworkAccessFlag
    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.
    TrustedServiceAccessEnabled bool
    Value that indicates whether Trusted Service Access is Enabled or not.
    VirtualNetworkRules []NWRuleSetVirtualNetworkRulesArgs
    List VirtualNetwork Rules
    namespaceName String
    The Namespace name
    resourceGroupName String
    Name of the resource group within the azure subscription.
    defaultAction String | DefaultAction
    Default Action for Network Rule Set
    ipRules List<NWRuleSetIpRules>
    List of IpRules
    publicNetworkAccess String | PublicNetworkAccessFlag
    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.
    trustedServiceAccessEnabled Boolean
    Value that indicates whether Trusted Service Access is Enabled or not.
    virtualNetworkRules List<NWRuleSetVirtualNetworkRules>
    List VirtualNetwork Rules
    namespaceName string
    The Namespace name
    resourceGroupName string
    Name of the resource group within the azure subscription.
    defaultAction string | DefaultAction
    Default Action for Network Rule Set
    ipRules NWRuleSetIpRules[]
    List of IpRules
    publicNetworkAccess string | PublicNetworkAccessFlag
    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.
    trustedServiceAccessEnabled boolean
    Value that indicates whether Trusted Service Access is Enabled or not.
    virtualNetworkRules NWRuleSetVirtualNetworkRules[]
    List VirtualNetwork Rules
    namespace_name str
    The Namespace name
    resource_group_name str
    Name of the resource group within the azure subscription.
    default_action str | DefaultAction
    Default Action for Network Rule Set
    ip_rules Sequence[NWRuleSetIpRulesArgs]
    List of IpRules
    public_network_access str | PublicNetworkAccessFlag
    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_access_enabled bool
    Value that indicates whether Trusted Service Access is Enabled or not.
    virtual_network_rules Sequence[NWRuleSetVirtualNetworkRulesArgs]
    List VirtualNetwork Rules
    namespaceName String
    The Namespace name
    resourceGroupName String
    Name of the resource group within the azure subscription.
    defaultAction String | "Allow" | "Deny"
    Default Action for Network Rule Set
    ipRules List<Property Map>
    List of IpRules
    publicNetworkAccess String | "Enabled" | "Disabled" | "SecuredByPerimeter"
    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.
    trustedServiceAccessEnabled Boolean
    Value that indicates whether Trusted Service Access is Enabled or not.
    virtualNetworkRules List<Property Map>
    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
    SystemData Pulumi.AzureNative.EventHub.Outputs.SystemDataResponse
    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
    SystemData SystemDataResponse
    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
    systemData SystemDataResponse
    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
    systemData SystemDataResponse
    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 SystemDataResponse
    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
    systemData 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
    DefaultActionAllow
    Allow
    DefaultActionDeny
    Deny
    Allow
    Allow
    Deny
    Deny
    Allow
    Allow
    Deny
    Deny
    ALLOW
    Allow
    DENY
    Deny
    "Allow"
    Allow
    "Deny"
    Deny

    NWRuleSetIpRules, NWRuleSetIpRulesArgs

    Action string | Pulumi.AzureNative.EventHub.NetworkRuleIPAction
    The IP Filter Action
    IpMask string
    IP Mask
    Action string | NetworkRuleIPAction
    The IP Filter Action
    IpMask string
    IP Mask
    action String | NetworkRuleIPAction
    The IP Filter Action
    ipMask String
    IP Mask
    action string | NetworkRuleIPAction
    The IP Filter Action
    ipMask string
    IP Mask
    action str | NetworkRuleIPAction
    The IP Filter Action
    ip_mask str
    IP Mask
    action String | "Allow"
    The IP Filter Action
    ipMask String
    IP Mask

    NWRuleSetIpRulesResponse, NWRuleSetIpRulesResponseArgs

    Action string
    The IP Filter Action
    IpMask string
    IP Mask
    Action string
    The IP Filter Action
    IpMask string
    IP Mask
    action String
    The IP Filter Action
    ipMask String
    IP Mask
    action string
    The IP Filter Action
    ipMask string
    IP Mask
    action str
    The IP Filter Action
    ip_mask str
    IP Mask
    action String
    The IP Filter Action
    ipMask String
    IP Mask

    NWRuleSetVirtualNetworkRules, NWRuleSetVirtualNetworkRulesArgs

    IgnoreMissingVnetServiceEndpoint bool
    Value that indicates whether to ignore missing Vnet Service Endpoint
    Subnet Pulumi.AzureNative.EventHub.Inputs.Subnet
    Subnet properties
    IgnoreMissingVnetServiceEndpoint bool
    Value that indicates whether to ignore missing Vnet Service Endpoint
    Subnet Subnet
    Subnet properties
    ignoreMissingVnetServiceEndpoint Boolean
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet Subnet
    Subnet properties
    ignoreMissingVnetServiceEndpoint boolean
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet Subnet
    Subnet properties
    ignore_missing_vnet_service_endpoint bool
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet Subnet
    Subnet properties
    ignoreMissingVnetServiceEndpoint Boolean
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet Property Map
    Subnet properties

    NWRuleSetVirtualNetworkRulesResponse, NWRuleSetVirtualNetworkRulesResponseArgs

    IgnoreMissingVnetServiceEndpoint bool
    Value that indicates whether to ignore missing Vnet Service Endpoint
    Subnet Pulumi.AzureNative.EventHub.Inputs.SubnetResponse
    Subnet properties
    IgnoreMissingVnetServiceEndpoint bool
    Value that indicates whether to ignore missing Vnet Service Endpoint
    Subnet SubnetResponse
    Subnet properties
    ignoreMissingVnetServiceEndpoint Boolean
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet SubnetResponse
    Subnet properties
    ignoreMissingVnetServiceEndpoint boolean
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet SubnetResponse
    Subnet properties
    ignore_missing_vnet_service_endpoint bool
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet SubnetResponse
    Subnet properties
    ignoreMissingVnetServiceEndpoint Boolean
    Value that indicates whether to ignore missing Vnet Service Endpoint
    subnet Property Map
    Subnet properties

    NetworkRuleIPAction, NetworkRuleIPActionArgs

    Allow
    Allow
    NetworkRuleIPActionAllow
    Allow
    Allow
    Allow
    Allow
    Allow
    ALLOW
    Allow
    "Allow"
    Allow

    PublicNetworkAccessFlag, PublicNetworkAccessFlagArgs

    Enabled
    Enabled
    Disabled
    Disabled
    SecuredByPerimeter
    SecuredByPerimeter
    PublicNetworkAccessFlagEnabled
    Enabled
    PublicNetworkAccessFlagDisabled
    Disabled
    PublicNetworkAccessFlagSecuredByPerimeter
    SecuredByPerimeter
    Enabled
    Enabled
    Disabled
    Disabled
    SecuredByPerimeter
    SecuredByPerimeter
    Enabled
    Enabled
    Disabled
    Disabled
    SecuredByPerimeter
    SecuredByPerimeter
    ENABLED
    Enabled
    DISABLED
    Disabled
    SECURED_BY_PERIMETER
    SecuredByPerimeter
    "Enabled"
    Enabled
    "Disabled"
    Disabled
    "SecuredByPerimeter"
    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

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The type of identity that last modified the resource.
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The type of identity that last modified the resource.
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi