azure-native.servicebus.NamespaceNetworkRuleSet
Explore with Pulumi AI
Description of NetworkRuleSet resource. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 2017-04-01.
Other available API versions: 2022-10-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.ServiceBus.NamespaceNetworkRuleSet("namespaceNetworkRuleSet", new()
{
DefaultAction = AzureNative.ServiceBus.DefaultAction.Deny,
IpRules = new[]
{
new AzureNative.ServiceBus.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.ServiceBus.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.1",
},
new AzureNative.ServiceBus.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.ServiceBus.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.2",
},
new AzureNative.ServiceBus.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.ServiceBus.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.3",
},
new AzureNative.ServiceBus.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.ServiceBus.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.4",
},
new AzureNative.ServiceBus.Inputs.NWRuleSetIpRulesArgs
{
Action = AzureNative.ServiceBus.NetworkRuleIPAction.Allow,
IpMask = "1.1.1.5",
},
},
NamespaceName = "sdk-Namespace-6019",
ResourceGroupName = "ResourceGroup",
VirtualNetworkRules = new[]
{
new AzureNative.ServiceBus.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = true,
Subnet = new AzureNative.ServiceBus.Inputs.SubnetArgs
{
Id = "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2",
},
},
new AzureNative.ServiceBus.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = false,
Subnet = new AzureNative.ServiceBus.Inputs.SubnetArgs
{
Id = "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3",
},
},
new AzureNative.ServiceBus.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = false,
Subnet = new AzureNative.ServiceBus.Inputs.SubnetArgs
{
Id = "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6",
},
},
},
});
});
package main
import (
servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicebus.NewNamespaceNetworkRuleSet(ctx, "namespaceNetworkRuleSet", &servicebus.NamespaceNetworkRuleSetArgs{
DefaultAction: pulumi.String(servicebus.DefaultActionDeny),
IpRules: servicebus.NWRuleSetIpRulesArray{
&servicebus.NWRuleSetIpRulesArgs{
Action: pulumi.String(servicebus.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.1"),
},
&servicebus.NWRuleSetIpRulesArgs{
Action: pulumi.String(servicebus.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.2"),
},
&servicebus.NWRuleSetIpRulesArgs{
Action: pulumi.String(servicebus.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.3"),
},
&servicebus.NWRuleSetIpRulesArgs{
Action: pulumi.String(servicebus.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.4"),
},
&servicebus.NWRuleSetIpRulesArgs{
Action: pulumi.String(servicebus.NetworkRuleIPActionAllow),
IpMask: pulumi.String("1.1.1.5"),
},
},
NamespaceName: pulumi.String("sdk-Namespace-6019"),
ResourceGroupName: pulumi.String("ResourceGroup"),
VirtualNetworkRules: servicebus.NWRuleSetVirtualNetworkRulesArray{
&servicebus.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(true),
Subnet: &servicebus.SubnetArgs{
Id: pulumi.String("/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2"),
},
},
&servicebus.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
Subnet: &servicebus.SubnetArgs{
Id: pulumi.String("/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3"),
},
},
&servicebus.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
Subnet: &servicebus.SubnetArgs{
Id: pulumi.String("/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/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.servicebus.NamespaceNetworkRuleSet;
import com.pulumi.azurenative.servicebus.NamespaceNetworkRuleSetArgs;
import com.pulumi.azurenative.servicebus.inputs.NWRuleSetIpRulesArgs;
import com.pulumi.azurenative.servicebus.inputs.NWRuleSetVirtualNetworkRulesArgs;
import com.pulumi.azurenative.servicebus.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/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2")
.build())
.build(),
NWRuleSetVirtualNetworkRulesArgs.builder()
.ignoreMissingVnetServiceEndpoint(false)
.subnet(SubnetArgs.builder()
.id("/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3")
.build())
.build(),
NWRuleSetVirtualNetworkRulesArgs.builder()
.ignoreMissingVnetServiceEndpoint(false)
.subnet(SubnetArgs.builder()
.id("/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/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.servicebus.NamespaceNetworkRuleSet("namespaceNetworkRuleSet",
default_action=azure_native.servicebus.DefaultAction.DENY,
ip_rules=[
azure_native.servicebus.NWRuleSetIpRulesArgs(
action=azure_native.servicebus.NetworkRuleIPAction.ALLOW,
ip_mask="1.1.1.1",
),
azure_native.servicebus.NWRuleSetIpRulesArgs(
action=azure_native.servicebus.NetworkRuleIPAction.ALLOW,
ip_mask="1.1.1.2",
),
azure_native.servicebus.NWRuleSetIpRulesArgs(
action=azure_native.servicebus.NetworkRuleIPAction.ALLOW,
ip_mask="1.1.1.3",
),
azure_native.servicebus.NWRuleSetIpRulesArgs(
action=azure_native.servicebus.NetworkRuleIPAction.ALLOW,
ip_mask="1.1.1.4",
),
azure_native.servicebus.NWRuleSetIpRulesArgs(
action=azure_native.servicebus.NetworkRuleIPAction.ALLOW,
ip_mask="1.1.1.5",
),
],
namespace_name="sdk-Namespace-6019",
resource_group_name="ResourceGroup",
virtual_network_rules=[
azure_native.servicebus.NWRuleSetVirtualNetworkRulesArgs(
ignore_missing_vnet_service_endpoint=True,
subnet=azure_native.servicebus.SubnetArgs(
id="/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2",
),
),
azure_native.servicebus.NWRuleSetVirtualNetworkRulesArgs(
ignore_missing_vnet_service_endpoint=False,
subnet=azure_native.servicebus.SubnetArgs(
id="/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3",
),
),
azure_native.servicebus.NWRuleSetVirtualNetworkRulesArgs(
ignore_missing_vnet_service_endpoint=False,
subnet=azure_native.servicebus.SubnetArgs(
id="/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/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.servicebus.NamespaceNetworkRuleSet("namespaceNetworkRuleSet", {
defaultAction: azure_native.servicebus.DefaultAction.Deny,
ipRules: [
{
action: azure_native.servicebus.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.1",
},
{
action: azure_native.servicebus.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.2",
},
{
action: azure_native.servicebus.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.3",
},
{
action: azure_native.servicebus.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.4",
},
{
action: azure_native.servicebus.NetworkRuleIPAction.Allow,
ipMask: "1.1.1.5",
},
],
namespaceName: "sdk-Namespace-6019",
resourceGroupName: "ResourceGroup",
virtualNetworkRules: [
{
ignoreMissingVnetServiceEndpoint: true,
subnet: {
id: "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2",
},
},
{
ignoreMissingVnetServiceEndpoint: false,
subnet: {
id: "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3",
},
},
{
ignoreMissingVnetServiceEndpoint: false,
subnet: {
id: "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6",
},
},
],
});
resources:
namespaceNetworkRuleSet:
type: azure-native:servicebus: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/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2
- ignoreMissingVnetServiceEndpoint: false
subnet:
id: /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3
- ignoreMissingVnetServiceEndpoint: false
subnet:
id: /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/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:servicebus: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 azure_nativeNamespaceNetworkRuleSetResource = new AzureNative.ServiceBus.NamespaceNetworkRuleSet("azure-nativeNamespaceNetworkRuleSetResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
DefaultAction = "string",
IpRules = new[]
{
new AzureNative.ServiceBus.Inputs.NWRuleSetIpRulesArgs
{
Action = "string",
IpMask = "string",
},
},
PublicNetworkAccess = "string",
TrustedServiceAccessEnabled = false,
VirtualNetworkRules = new[]
{
new AzureNative.ServiceBus.Inputs.NWRuleSetVirtualNetworkRulesArgs
{
IgnoreMissingVnetServiceEndpoint = false,
Subnet = new AzureNative.ServiceBus.Inputs.SubnetArgs
{
Id = "string",
},
},
},
});
example, err := servicebus.NewNamespaceNetworkRuleSet(ctx, "azure-nativeNamespaceNetworkRuleSetResource", &servicebus.NamespaceNetworkRuleSetArgs{
NamespaceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DefaultAction: pulumi.String("string"),
IpRules: servicebus.NWRuleSetIpRulesArray{
&servicebus.NWRuleSetIpRulesArgs{
Action: pulumi.String("string"),
IpMask: pulumi.String("string"),
},
},
PublicNetworkAccess: pulumi.String("string"),
TrustedServiceAccessEnabled: pulumi.Bool(false),
VirtualNetworkRules: servicebus.NWRuleSetVirtualNetworkRulesArray{
&servicebus.NWRuleSetVirtualNetworkRulesArgs{
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
Subnet: &servicebus.SubnetArgs{
Id: pulumi.String("string"),
},
},
},
})
var azure_nativeNamespaceNetworkRuleSetResource = new NamespaceNetworkRuleSet("azure-nativeNamespaceNetworkRuleSetResource", 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());
azure_native_namespace_network_rule_set_resource = azure_native.servicebus.NamespaceNetworkRuleSet("azure-nativeNamespaceNetworkRuleSetResource",
namespace_name="string",
resource_group_name="string",
default_action="string",
ip_rules=[azure_native.servicebus.NWRuleSetIpRulesArgs(
action="string",
ip_mask="string",
)],
public_network_access="string",
trusted_service_access_enabled=False,
virtual_network_rules=[azure_native.servicebus.NWRuleSetVirtualNetworkRulesArgs(
ignore_missing_vnet_service_endpoint=False,
subnet=azure_native.servicebus.SubnetArgs(
id="string",
),
)])
const azure_nativeNamespaceNetworkRuleSetResource = new azure_native.servicebus.NamespaceNetworkRuleSet("azure-nativeNamespaceNetworkRuleSetResource", {
namespaceName: "string",
resourceGroupName: "string",
defaultAction: "string",
ipRules: [{
action: "string",
ipMask: "string",
}],
publicNetworkAccess: "string",
trustedServiceAccessEnabled: false,
virtualNetworkRules: [{
ignoreMissingVnetServiceEndpoint: false,
subnet: {
id: "string",
},
}],
});
type: azure-native:servicebus: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:
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Default
Action string | Pulumi.Azure Native. Service Bus. Default Action - Default Action for Network Rule Set
- Ip
Rules List<Pulumi.Azure Native. Service Bus. Inputs. NWRule Set Ip Rules> - List of IpRules
- Public
Network string | Pulumi.Access Azure Native. Service Bus. Public Network Access Flag - This determines if traffic is allowed over public network. By default it is enabled.
- Trusted
Service boolAccess Enabled - Value that indicates whether Trusted Service Access is Enabled or not.
- Virtual
Network List<Pulumi.Rules Azure Native. Service Bus. 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.
- 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.
- 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.
- 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.
- 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"Access - This determines if traffic is allowed over public network. By default it is enabled.
- 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. Service Bus. 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. Service Bus. 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. Service Bus. 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. Service Bus. 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
- Public
Network Access Flag Enabled - Enabled
- Public
Network Access Flag Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
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:servicebus:NamespaceNetworkRuleSet default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/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