1. Packages
  2. Azure Native v2
  3. API Docs
  4. servicebus
  5. getNamespaceIpFilterRule
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.servicebus.getNamespaceIpFilterRule

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets an IpFilterRule for a Namespace by rule name. Azure REST API version: 2018-01-01-preview.

Using getNamespaceIpFilterRule

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNamespaceIpFilterRule(args: GetNamespaceIpFilterRuleArgs, opts?: InvokeOptions): Promise<GetNamespaceIpFilterRuleResult>
function getNamespaceIpFilterRuleOutput(args: GetNamespaceIpFilterRuleOutputArgs, opts?: InvokeOptions): Output<GetNamespaceIpFilterRuleResult>
Copy
def get_namespace_ip_filter_rule(ip_filter_rule_name: Optional[str] = None,
                                 namespace_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetNamespaceIpFilterRuleResult
def get_namespace_ip_filter_rule_output(ip_filter_rule_name: Optional[pulumi.Input[str]] = None,
                                 namespace_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceIpFilterRuleResult]
Copy
func LookupNamespaceIpFilterRule(ctx *Context, args *LookupNamespaceIpFilterRuleArgs, opts ...InvokeOption) (*LookupNamespaceIpFilterRuleResult, error)
func LookupNamespaceIpFilterRuleOutput(ctx *Context, args *LookupNamespaceIpFilterRuleOutputArgs, opts ...InvokeOption) LookupNamespaceIpFilterRuleResultOutput
Copy

> Note: This function is named LookupNamespaceIpFilterRule in the Go SDK.

public static class GetNamespaceIpFilterRule 
{
    public static Task<GetNamespaceIpFilterRuleResult> InvokeAsync(GetNamespaceIpFilterRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceIpFilterRuleResult> Invoke(GetNamespaceIpFilterRuleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNamespaceIpFilterRuleResult> getNamespaceIpFilterRule(GetNamespaceIpFilterRuleArgs args, InvokeOptions options)
public static Output<GetNamespaceIpFilterRuleResult> getNamespaceIpFilterRule(GetNamespaceIpFilterRuleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:servicebus:getNamespaceIpFilterRule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

IpFilterRuleName
This property is required.
Changes to this property will trigger replacement.
string
The IP Filter Rule name.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
The namespace name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
IpFilterRuleName
This property is required.
Changes to this property will trigger replacement.
string
The IP Filter Rule name.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
The namespace name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
ipFilterRuleName
This property is required.
Changes to this property will trigger replacement.
String
The IP Filter Rule name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
The namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Resource group within the Azure subscription.
ipFilterRuleName
This property is required.
Changes to this property will trigger replacement.
string
The IP Filter Rule name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
string
The namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Resource group within the Azure subscription.
ip_filter_rule_name
This property is required.
Changes to this property will trigger replacement.
str
The IP Filter Rule name.
namespace_name
This property is required.
Changes to this property will trigger replacement.
str
The namespace name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Resource group within the Azure subscription.
ipFilterRuleName
This property is required.
Changes to this property will trigger replacement.
String
The IP Filter Rule name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
The namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Resource group within the Azure subscription.

getNamespaceIpFilterRule Result

The following output properties are available:

Id string
Resource Id
Name string
Resource name
Type string
Resource type
Action string
The IP Filter Action
FilterName string
IP Filter name
IpMask string
IP Mask
Id string
Resource Id
Name string
Resource name
Type string
Resource type
Action string
The IP Filter Action
FilterName string
IP Filter name
IpMask string
IP Mask
id String
Resource Id
name String
Resource name
type String
Resource type
action String
The IP Filter Action
filterName String
IP Filter name
ipMask String
IP Mask
id string
Resource Id
name string
Resource name
type string
Resource type
action string
The IP Filter Action
filterName string
IP Filter name
ipMask string
IP Mask
id str
Resource Id
name str
Resource name
type str
Resource type
action str
The IP Filter Action
filter_name str
IP Filter name
ip_mask str
IP Mask
id String
Resource Id
name String
Resource name
type String
Resource type
action String
The IP Filter Action
filterName String
IP Filter name
ipMask String
IP Mask

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi