1. Packages
  2. Azure Native v2
  3. API Docs
  4. eventhub
  5. getNamespaceNetworkRuleSet
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.eventhub.getNamespaceNetworkRuleSet

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 NetworkRuleSet for a Namespace. Azure REST API version: 2022-10-01-preview.

Other available API versions: 2023-01-01-preview, 2024-01-01, 2024-05-01-preview.

Using getNamespaceNetworkRuleSet

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 getNamespaceNetworkRuleSet(args: GetNamespaceNetworkRuleSetArgs, opts?: InvokeOptions): Promise<GetNamespaceNetworkRuleSetResult>
function getNamespaceNetworkRuleSetOutput(args: GetNamespaceNetworkRuleSetOutputArgs, opts?: InvokeOptions): Output<GetNamespaceNetworkRuleSetResult>
Copy
def get_namespace_network_rule_set(namespace_name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetNamespaceNetworkRuleSetResult
def get_namespace_network_rule_set_output(namespace_name: Optional[pulumi.Input[str]] = None,
                                   resource_group_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceNetworkRuleSetResult]
Copy
func LookupNamespaceNetworkRuleSet(ctx *Context, args *LookupNamespaceNetworkRuleSetArgs, opts ...InvokeOption) (*LookupNamespaceNetworkRuleSetResult, error)
func LookupNamespaceNetworkRuleSetOutput(ctx *Context, args *LookupNamespaceNetworkRuleSetOutputArgs, opts ...InvokeOption) LookupNamespaceNetworkRuleSetResultOutput
Copy

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

public static class GetNamespaceNetworkRuleSet 
{
    public static Task<GetNamespaceNetworkRuleSetResult> InvokeAsync(GetNamespaceNetworkRuleSetArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceNetworkRuleSetResult> Invoke(GetNamespaceNetworkRuleSetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNamespaceNetworkRuleSetResult> getNamespaceNetworkRuleSet(GetNamespaceNetworkRuleSetArgs args, InvokeOptions options)
public static Output<GetNamespaceNetworkRuleSetResult> getNamespaceNetworkRuleSet(GetNamespaceNetworkRuleSetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:eventhub:getNamespaceNetworkRuleSet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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.
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.
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.
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.
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.
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.

getNamespaceNetworkRuleSet Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
DefaultAction string
Default Action for Network Rule Set
IpRules List<Pulumi.AzureNative.EventHub.Outputs.NWRuleSetIpRulesResponse>
List of IpRules
PublicNetworkAccess string
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.Outputs.NWRuleSetVirtualNetworkRulesResponse>
List VirtualNetwork Rules
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
DefaultAction string
Default Action for Network Rule Set
IpRules []NWRuleSetIpRulesResponse
List of IpRules
PublicNetworkAccess string
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 []NWRuleSetVirtualNetworkRulesResponse
List VirtualNetwork Rules
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
defaultAction String
Default Action for Network Rule Set
ipRules List<NWRuleSetIpRulesResponse>
List of IpRules
publicNetworkAccess String
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<NWRuleSetVirtualNetworkRulesResponse>
List VirtualNetwork Rules
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
defaultAction string
Default Action for Network Rule Set
ipRules NWRuleSetIpRulesResponse[]
List of IpRules
publicNetworkAccess string
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 NWRuleSetVirtualNetworkRulesResponse[]
List VirtualNetwork Rules
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
default_action str
Default Action for Network Rule Set
ip_rules Sequence[NWRuleSetIpRulesResponse]
List of IpRules
public_network_access str
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[NWRuleSetVirtualNetworkRulesResponse]
List VirtualNetwork Rules
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
defaultAction String
Default Action for Network Rule Set
ipRules List<Property Map>
List of IpRules
publicNetworkAccess String
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

Supporting Types

NWRuleSetIpRulesResponse

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

NWRuleSetVirtualNetworkRulesResponse

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

SubnetResponse

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

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.

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