NamespaceNetworkRuleSet
Manages a ServiceBus Namespace Network Rule Set Set.
Create a NamespaceNetworkRuleSet Resource
new NamespaceNetworkRuleSet(name: string, args: NamespaceNetworkRuleSetArgs, opts?: CustomResourceOptions);def NamespaceNetworkRuleSet(resource_name, opts=None, default_action=None, ip_rules=None, namespace_name=None, network_rules=None, resource_group_name=None, __props__=None);func NewNamespaceNetworkRuleSet(ctx *Context, name string, args NamespaceNetworkRuleSetArgs, opts ...ResourceOption) (*NamespaceNetworkRuleSet, error)public NamespaceNetworkRuleSet(string name, NamespaceNetworkRuleSetArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
NamespaceNetworkRuleSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The NamespaceNetworkRuleSet resource accepts the following input properties:
- Namespace
Name string Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- Resource
Group stringName Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- Default
Action string Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- Ip
Rules List<string> One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- Network
Rules List<NamespaceNetwork Rule Set Network Rule Args> One or more
network_rulesblocks as defined below.
- Namespace
Name string Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- Resource
Group stringName Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- Default
Action string Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- Ip
Rules []string One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- Network
Rules []NamespaceNetwork Rule Set Network Rule One or more
network_rulesblocks as defined below.
- namespace
Name string Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- resource
Group stringName Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- default
Action string Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- ip
Rules string[] One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- network
Rules NamespaceNetwork Rule Set Network Rule[] One or more
network_rulesblocks as defined below.
- namespace_
name str Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- resource_
group_ strname Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- default_
action str Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- ip_
rules List[str] One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- network_
rules List[NamespaceNetwork Rule Set Network Rule] One or more
network_rulesblocks as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the NamespaceNetworkRuleSet resource produces the following output properties:
Look up an Existing NamespaceNetworkRuleSet Resource
Get an existing NamespaceNetworkRuleSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NamespaceNetworkRuleSetState, opts?: CustomResourceOptions): NamespaceNetworkRuleSetstatic get(resource_name, id, opts=None, default_action=None, ip_rules=None, namespace_name=None, network_rules=None, resource_group_name=None, __props__=None);func GetNamespaceNetworkRuleSet(ctx *Context, name string, id IDInput, state *NamespaceNetworkRuleSetState, opts ...ResourceOption) (*NamespaceNetworkRuleSet, error)public static NamespaceNetworkRuleSet Get(string name, Input<string> id, NamespaceNetworkRuleSetState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Default
Action string Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- Ip
Rules List<string> One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- Namespace
Name string Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- Network
Rules List<NamespaceNetwork Rule Set Network Rule Args> One or more
network_rulesblocks as defined below.- Resource
Group stringName Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- Default
Action string Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- Ip
Rules []string One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- Namespace
Name string Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- Network
Rules []NamespaceNetwork Rule Set Network Rule One or more
network_rulesblocks as defined below.- Resource
Group stringName Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- default
Action string Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- ip
Rules string[] One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- namespace
Name string Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- network
Rules NamespaceNetwork Rule Set Network Rule[] One or more
network_rulesblocks as defined below.- resource
Group stringName Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
- default_
action str Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are
AllowandDeny. Defaults toDeny.- ip_
rules List[str] One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
- namespace_
name str Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
- network_
rules List[NamespaceNetwork Rule Set Network Rule] One or more
network_rulesblocks as defined below.- resource_
group_ strname Specifies the name of the Resource Group where the ServiceBus Namespace Network Rule Set should exist. Changing this forces a new resource to be created.
Supporting Types
NamespaceNetworkRuleSetNetworkRule
- Subnet
Id string The Subnet ID which should be able to access this ServiceBus Namespace.
- Ignore
Missing boolVnet Service Endpoint Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to
false.
- Subnet
Id string The Subnet ID which should be able to access this ServiceBus Namespace.
- Ignore
Missing boolVnet Service Endpoint Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to
false.
- subnet
Id string The Subnet ID which should be able to access this ServiceBus Namespace.
- ignore
Missing booleanVnet Service Endpoint Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to
false.
- subnet_
id str The Subnet ID which should be able to access this ServiceBus Namespace.
- ignore_
missing_ boolvnet_ service_ endpoint Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to
false.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.