Class NamespaceNetworkRuleSet
Manages a ServiceBus Namespace Network Rule Set Set.
Inherited Members
Namespace: Pulumi.Azure.ServiceBus
Assembly: Pulumi.Azure.dll
Syntax
public class NamespaceNetworkRuleSet : CustomResource
Constructors
View SourceNamespaceNetworkRuleSet(String, NamespaceNetworkRuleSetArgs, CustomResourceOptions)
Create a NamespaceNetworkRuleSet resource with the given unique name, arguments, and options.
Declaration
public NamespaceNetworkRuleSet(string name, NamespaceNetworkRuleSetArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NamespaceNetworkRuleSetArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDefaultAction
Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are Allow and Deny. Defaults to Deny.
Declaration
public Output<string> DefaultAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IpRules
One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace.
Declaration
public Output<ImmutableArray<string>> IpRules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
NamespaceName
Specifies the ServiceBus Namespace name to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created.
Declaration
public Output<string> NamespaceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkRules
One or more network_rules blocks as defined below.
Declaration
public Output<ImmutableArray<NamespaceNetworkRuleSetNetworkRule>> NetworkRules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<NamespaceNetworkRuleSetNetworkRule>> |
ResourceGroupName
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.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, NamespaceNetworkRuleSetState, CustomResourceOptions)
Get an existing NamespaceNetworkRuleSet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static NamespaceNetworkRuleSet Get(string name, Input<string> id, NamespaceNetworkRuleSetState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| NamespaceNetworkRuleSetState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| NamespaceNetworkRuleSet |