1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. listActiveSecurityUserRules
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.network.listActiveSecurityUserRules

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Lists Active Security User Rules in a network manager.

Uses Azure REST API version 2022-04-01-preview.

Other available API versions: 2022-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.

Using listActiveSecurityUserRules

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 listActiveSecurityUserRules(args: ListActiveSecurityUserRulesArgs, opts?: InvokeOptions): Promise<ListActiveSecurityUserRulesResult>
function listActiveSecurityUserRulesOutput(args: ListActiveSecurityUserRulesOutputArgs, opts?: InvokeOptions): Output<ListActiveSecurityUserRulesResult>
Copy
def list_active_security_user_rules(network_manager_name: Optional[str] = None,
                                    regions: Optional[Sequence[str]] = None,
                                    resource_group_name: Optional[str] = None,
                                    skip_token: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> ListActiveSecurityUserRulesResult
def list_active_security_user_rules_output(network_manager_name: Optional[pulumi.Input[str]] = None,
                                    regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    resource_group_name: Optional[pulumi.Input[str]] = None,
                                    skip_token: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[ListActiveSecurityUserRulesResult]
Copy
func ListActiveSecurityUserRules(ctx *Context, args *ListActiveSecurityUserRulesArgs, opts ...InvokeOption) (*ListActiveSecurityUserRulesResult, error)
func ListActiveSecurityUserRulesOutput(ctx *Context, args *ListActiveSecurityUserRulesOutputArgs, opts ...InvokeOption) ListActiveSecurityUserRulesResultOutput
Copy

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

public static class ListActiveSecurityUserRules 
{
    public static Task<ListActiveSecurityUserRulesResult> InvokeAsync(ListActiveSecurityUserRulesArgs args, InvokeOptions? opts = null)
    public static Output<ListActiveSecurityUserRulesResult> Invoke(ListActiveSecurityUserRulesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListActiveSecurityUserRulesResult> listActiveSecurityUserRules(ListActiveSecurityUserRulesArgs args, InvokeOptions options)
public static Output<ListActiveSecurityUserRulesResult> listActiveSecurityUserRules(ListActiveSecurityUserRulesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:listActiveSecurityUserRules
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NetworkManagerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Regions List<string>
List of regions.
SkipToken string
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
NetworkManagerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Regions []string
List of regions.
SkipToken string
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
networkManagerName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
regions List<String>
List of regions.
skipToken String
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
networkManagerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
regions string[]
List of regions.
skipToken string
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
network_manager_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network manager.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
regions Sequence[str]
List of regions.
skip_token str
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
networkManagerName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
regions List<String>
List of regions.
skipToken String
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.

listActiveSecurityUserRules Result

The following output properties are available:

SkipToken string
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
Value List<Union<Pulumi.AzureNative.Network.Outputs.ActiveDefaultSecurityUserRuleResponse, Pulumi.AzureNative.Network.Outputs.ActiveSecurityUserRuleResponse>>
Gets a page of active security user rules.
SkipToken string
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
Value []interface{}
Gets a page of active security user rules.
skipToken String
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
value List<Either<ActiveDefaultSecurityUserRuleResponse,ActiveSecurityUserRuleResponse>>
Gets a page of active security user rules.
skipToken string
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
value (ActiveDefaultSecurityUserRuleResponse | ActiveSecurityUserRuleResponse)[]
Gets a page of active security user rules.
skip_token str
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
value Sequence[Any]
Gets a page of active security user rules.
skipToken String
When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
value List<Property Map | Property Map>
Gets a page of active security user rules.

Supporting Types

ActiveDefaultSecurityUserRuleResponse

Description This property is required. string
A description for this rule. Restricted to 140 chars.
DestinationPortRanges This property is required. List<string>
The destination port ranges.
Destinations This property is required. List<Pulumi.AzureNative.Network.Inputs.AddressPrefixItemResponse>
The destination address prefixes. CIDR or destination IP ranges.
Direction This property is required. string
Indicates if the traffic matched against the rule in inbound or outbound.
Protocol This property is required. string
Network protocol this rule applies to.
ProvisioningState This property is required. string
The provisioning state of the security configuration user rule resource.
SourcePortRanges This property is required. List<string>
The source port ranges.
Sources This property is required. List<Pulumi.AzureNative.Network.Inputs.AddressPrefixItemResponse>
The CIDR or source IP ranges.
CommitTime string
Deployment time string.
ConfigurationDescription string
A description of the security user configuration.
ConfigurationDisplayName string
A display name of the security user configuration.
DisplayName string
A friendly name for the rule.
Flag string
Default rule flag.
Id string
Resource ID.
Region string
Deployment region.
RuleCollectionAppliesToGroups List<Pulumi.AzureNative.Network.Inputs.NetworkManagerSecurityGroupItemResponse>
Groups for rule collection
RuleCollectionDescription string
A description of the rule collection.
RuleCollectionDisplayName string
A display name of the rule collection.
RuleGroups List<Pulumi.AzureNative.Network.Inputs.ConfigurationGroupResponse>
Effective configuration groups.
Description This property is required. string
A description for this rule. Restricted to 140 chars.
DestinationPortRanges This property is required. []string
The destination port ranges.
Destinations This property is required. []AddressPrefixItemResponse
The destination address prefixes. CIDR or destination IP ranges.
Direction This property is required. string
Indicates if the traffic matched against the rule in inbound or outbound.
Protocol This property is required. string
Network protocol this rule applies to.
ProvisioningState This property is required. string
The provisioning state of the security configuration user rule resource.
SourcePortRanges This property is required. []string
The source port ranges.
Sources This property is required. []AddressPrefixItemResponse
The CIDR or source IP ranges.
CommitTime string
Deployment time string.
ConfigurationDescription string
A description of the security user configuration.
ConfigurationDisplayName string
A display name of the security user configuration.
DisplayName string
A friendly name for the rule.
Flag string
Default rule flag.
Id string
Resource ID.
Region string
Deployment region.
RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse
Groups for rule collection
RuleCollectionDescription string
A description of the rule collection.
RuleCollectionDisplayName string
A display name of the rule collection.
RuleGroups []ConfigurationGroupResponse
Effective configuration groups.
description This property is required. String
A description for this rule. Restricted to 140 chars.
destinationPortRanges This property is required. List<String>
The destination port ranges.
destinations This property is required. List<AddressPrefixItemResponse>
The destination address prefixes. CIDR or destination IP ranges.
direction This property is required. String
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. String
Network protocol this rule applies to.
provisioningState This property is required. String
The provisioning state of the security configuration user rule resource.
sourcePortRanges This property is required. List<String>
The source port ranges.
sources This property is required. List<AddressPrefixItemResponse>
The CIDR or source IP ranges.
commitTime String
Deployment time string.
configurationDescription String
A description of the security user configuration.
configurationDisplayName String
A display name of the security user configuration.
displayName String
A friendly name for the rule.
flag String
Default rule flag.
id String
Resource ID.
region String
Deployment region.
ruleCollectionAppliesToGroups List<NetworkManagerSecurityGroupItemResponse>
Groups for rule collection
ruleCollectionDescription String
A description of the rule collection.
ruleCollectionDisplayName String
A display name of the rule collection.
ruleGroups List<ConfigurationGroupResponse>
Effective configuration groups.
description This property is required. string
A description for this rule. Restricted to 140 chars.
destinationPortRanges This property is required. string[]
The destination port ranges.
destinations This property is required. AddressPrefixItemResponse[]
The destination address prefixes. CIDR or destination IP ranges.
direction This property is required. string
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. string
Network protocol this rule applies to.
provisioningState This property is required. string
The provisioning state of the security configuration user rule resource.
sourcePortRanges This property is required. string[]
The source port ranges.
sources This property is required. AddressPrefixItemResponse[]
The CIDR or source IP ranges.
commitTime string
Deployment time string.
configurationDescription string
A description of the security user configuration.
configurationDisplayName string
A display name of the security user configuration.
displayName string
A friendly name for the rule.
flag string
Default rule flag.
id string
Resource ID.
region string
Deployment region.
ruleCollectionAppliesToGroups NetworkManagerSecurityGroupItemResponse[]
Groups for rule collection
ruleCollectionDescription string
A description of the rule collection.
ruleCollectionDisplayName string
A display name of the rule collection.
ruleGroups ConfigurationGroupResponse[]
Effective configuration groups.
description This property is required. str
A description for this rule. Restricted to 140 chars.
destination_port_ranges This property is required. Sequence[str]
The destination port ranges.
destinations This property is required. Sequence[AddressPrefixItemResponse]
The destination address prefixes. CIDR or destination IP ranges.
direction This property is required. str
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. str
Network protocol this rule applies to.
provisioning_state This property is required. str
The provisioning state of the security configuration user rule resource.
source_port_ranges This property is required. Sequence[str]
The source port ranges.
sources This property is required. Sequence[AddressPrefixItemResponse]
The CIDR or source IP ranges.
commit_time str
Deployment time string.
configuration_description str
A description of the security user configuration.
configuration_display_name str
A display name of the security user configuration.
display_name str
A friendly name for the rule.
flag str
Default rule flag.
id str
Resource ID.
region str
Deployment region.
rule_collection_applies_to_groups Sequence[NetworkManagerSecurityGroupItemResponse]
Groups for rule collection
rule_collection_description str
A description of the rule collection.
rule_collection_display_name str
A display name of the rule collection.
rule_groups Sequence[ConfigurationGroupResponse]
Effective configuration groups.
description This property is required. String
A description for this rule. Restricted to 140 chars.
destinationPortRanges This property is required. List<String>
The destination port ranges.
destinations This property is required. List<Property Map>
The destination address prefixes. CIDR or destination IP ranges.
direction This property is required. String
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. String
Network protocol this rule applies to.
provisioningState This property is required. String
The provisioning state of the security configuration user rule resource.
sourcePortRanges This property is required. List<String>
The source port ranges.
sources This property is required. List<Property Map>
The CIDR or source IP ranges.
commitTime String
Deployment time string.
configurationDescription String
A description of the security user configuration.
configurationDisplayName String
A display name of the security user configuration.
displayName String
A friendly name for the rule.
flag String
Default rule flag.
id String
Resource ID.
region String
Deployment region.
ruleCollectionAppliesToGroups List<Property Map>
Groups for rule collection
ruleCollectionDescription String
A description of the rule collection.
ruleCollectionDisplayName String
A display name of the rule collection.
ruleGroups List<Property Map>
Effective configuration groups.

ActiveSecurityUserRuleResponse

Direction This property is required. string
Indicates if the traffic matched against the rule in inbound or outbound.
Protocol This property is required. string
Network protocol this rule applies to.
ProvisioningState This property is required. string
The provisioning state of the security configuration user rule resource.
CommitTime string
Deployment time string.
ConfigurationDescription string
A description of the security user configuration.
ConfigurationDisplayName string
A display name of the security user configuration.
Description string
A description for this rule.
DestinationPortRanges List<string>
The destination port ranges.
Destinations List<Pulumi.AzureNative.Network.Inputs.AddressPrefixItemResponse>
The destination address prefixes. CIDR or destination IP ranges.
DisplayName string
A friendly name for the rule.
Id string
Resource ID.
Region string
Deployment region.
RuleCollectionAppliesToGroups List<Pulumi.AzureNative.Network.Inputs.NetworkManagerSecurityGroupItemResponse>
Groups for rule collection
RuleCollectionDescription string
A description of the rule collection.
RuleCollectionDisplayName string
A display name of the rule collection.
RuleGroups List<Pulumi.AzureNative.Network.Inputs.ConfigurationGroupResponse>
Effective configuration groups.
SourcePortRanges List<string>
The source port ranges.
Sources List<Pulumi.AzureNative.Network.Inputs.AddressPrefixItemResponse>
The CIDR or source IP ranges.
Direction This property is required. string
Indicates if the traffic matched against the rule in inbound or outbound.
Protocol This property is required. string
Network protocol this rule applies to.
ProvisioningState This property is required. string
The provisioning state of the security configuration user rule resource.
CommitTime string
Deployment time string.
ConfigurationDescription string
A description of the security user configuration.
ConfigurationDisplayName string
A display name of the security user configuration.
Description string
A description for this rule.
DestinationPortRanges []string
The destination port ranges.
Destinations []AddressPrefixItemResponse
The destination address prefixes. CIDR or destination IP ranges.
DisplayName string
A friendly name for the rule.
Id string
Resource ID.
Region string
Deployment region.
RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse
Groups for rule collection
RuleCollectionDescription string
A description of the rule collection.
RuleCollectionDisplayName string
A display name of the rule collection.
RuleGroups []ConfigurationGroupResponse
Effective configuration groups.
SourcePortRanges []string
The source port ranges.
Sources []AddressPrefixItemResponse
The CIDR or source IP ranges.
direction This property is required. String
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. String
Network protocol this rule applies to.
provisioningState This property is required. String
The provisioning state of the security configuration user rule resource.
commitTime String
Deployment time string.
configurationDescription String
A description of the security user configuration.
configurationDisplayName String
A display name of the security user configuration.
description String
A description for this rule.
destinationPortRanges List<String>
The destination port ranges.
destinations List<AddressPrefixItemResponse>
The destination address prefixes. CIDR or destination IP ranges.
displayName String
A friendly name for the rule.
id String
Resource ID.
region String
Deployment region.
ruleCollectionAppliesToGroups List<NetworkManagerSecurityGroupItemResponse>
Groups for rule collection
ruleCollectionDescription String
A description of the rule collection.
ruleCollectionDisplayName String
A display name of the rule collection.
ruleGroups List<ConfigurationGroupResponse>
Effective configuration groups.
sourcePortRanges List<String>
The source port ranges.
sources List<AddressPrefixItemResponse>
The CIDR or source IP ranges.
direction This property is required. string
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. string
Network protocol this rule applies to.
provisioningState This property is required. string
The provisioning state of the security configuration user rule resource.
commitTime string
Deployment time string.
configurationDescription string
A description of the security user configuration.
configurationDisplayName string
A display name of the security user configuration.
description string
A description for this rule.
destinationPortRanges string[]
The destination port ranges.
destinations AddressPrefixItemResponse[]
The destination address prefixes. CIDR or destination IP ranges.
displayName string
A friendly name for the rule.
id string
Resource ID.
region string
Deployment region.
ruleCollectionAppliesToGroups NetworkManagerSecurityGroupItemResponse[]
Groups for rule collection
ruleCollectionDescription string
A description of the rule collection.
ruleCollectionDisplayName string
A display name of the rule collection.
ruleGroups ConfigurationGroupResponse[]
Effective configuration groups.
sourcePortRanges string[]
The source port ranges.
sources AddressPrefixItemResponse[]
The CIDR or source IP ranges.
direction This property is required. str
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. str
Network protocol this rule applies to.
provisioning_state This property is required. str
The provisioning state of the security configuration user rule resource.
commit_time str
Deployment time string.
configuration_description str
A description of the security user configuration.
configuration_display_name str
A display name of the security user configuration.
description str
A description for this rule.
destination_port_ranges Sequence[str]
The destination port ranges.
destinations Sequence[AddressPrefixItemResponse]
The destination address prefixes. CIDR or destination IP ranges.
display_name str
A friendly name for the rule.
id str
Resource ID.
region str
Deployment region.
rule_collection_applies_to_groups Sequence[NetworkManagerSecurityGroupItemResponse]
Groups for rule collection
rule_collection_description str
A description of the rule collection.
rule_collection_display_name str
A display name of the rule collection.
rule_groups Sequence[ConfigurationGroupResponse]
Effective configuration groups.
source_port_ranges Sequence[str]
The source port ranges.
sources Sequence[AddressPrefixItemResponse]
The CIDR or source IP ranges.
direction This property is required. String
Indicates if the traffic matched against the rule in inbound or outbound.
protocol This property is required. String
Network protocol this rule applies to.
provisioningState This property is required. String
The provisioning state of the security configuration user rule resource.
commitTime String
Deployment time string.
configurationDescription String
A description of the security user configuration.
configurationDisplayName String
A display name of the security user configuration.
description String
A description for this rule.
destinationPortRanges List<String>
The destination port ranges.
destinations List<Property Map>
The destination address prefixes. CIDR or destination IP ranges.
displayName String
A friendly name for the rule.
id String
Resource ID.
region String
Deployment region.
ruleCollectionAppliesToGroups List<Property Map>
Groups for rule collection
ruleCollectionDescription String
A description of the rule collection.
ruleCollectionDisplayName String
A display name of the rule collection.
ruleGroups List<Property Map>
Effective configuration groups.
sourcePortRanges List<String>
The source port ranges.
sources List<Property Map>
The CIDR or source IP ranges.

AddressPrefixItemResponse

AddressPrefix string
Address prefix.
AddressPrefixType string
Address prefix type.
AddressPrefix string
Address prefix.
AddressPrefixType string
Address prefix type.
addressPrefix String
Address prefix.
addressPrefixType String
Address prefix type.
addressPrefix string
Address prefix.
addressPrefixType string
Address prefix type.
address_prefix str
Address prefix.
address_prefix_type str
Address prefix type.
addressPrefix String
Address prefix.
addressPrefixType String
Address prefix type.

ConfigurationGroupResponse

ProvisioningState This property is required. string
The provisioning state of the scope assignment resource.
ResourceGuid This property is required. string
Unique identifier for this resource.
ConditionalMembership string
Network group conditional filter.
Description string
A description of the network group.
DisplayName string
A friendly name for the network group.
GroupMembers List<Pulumi.AzureNative.Network.Inputs.GroupMembersItemResponse>
Group members of network group.
Id string
Network group ID.
MemberType string
The type of the group member.
ProvisioningState This property is required. string
The provisioning state of the scope assignment resource.
ResourceGuid This property is required. string
Unique identifier for this resource.
ConditionalMembership string
Network group conditional filter.
Description string
A description of the network group.
DisplayName string
A friendly name for the network group.
GroupMembers []GroupMembersItemResponse
Group members of network group.
Id string
Network group ID.
MemberType string
The type of the group member.
provisioningState This property is required. String
The provisioning state of the scope assignment resource.
resourceGuid This property is required. String
Unique identifier for this resource.
conditionalMembership String
Network group conditional filter.
description String
A description of the network group.
displayName String
A friendly name for the network group.
groupMembers List<GroupMembersItemResponse>
Group members of network group.
id String
Network group ID.
memberType String
The type of the group member.
provisioningState This property is required. string
The provisioning state of the scope assignment resource.
resourceGuid This property is required. string
Unique identifier for this resource.
conditionalMembership string
Network group conditional filter.
description string
A description of the network group.
displayName string
A friendly name for the network group.
groupMembers GroupMembersItemResponse[]
Group members of network group.
id string
Network group ID.
memberType string
The type of the group member.
provisioning_state This property is required. str
The provisioning state of the scope assignment resource.
resource_guid This property is required. str
Unique identifier for this resource.
conditional_membership str
Network group conditional filter.
description str
A description of the network group.
display_name str
A friendly name for the network group.
group_members Sequence[GroupMembersItemResponse]
Group members of network group.
id str
Network group ID.
member_type str
The type of the group member.
provisioningState This property is required. String
The provisioning state of the scope assignment resource.
resourceGuid This property is required. String
Unique identifier for this resource.
conditionalMembership String
Network group conditional filter.
description String
A description of the network group.
displayName String
A friendly name for the network group.
groupMembers List<Property Map>
Group members of network group.
id String
Network group ID.
memberType String
The type of the group member.

GroupMembersItemResponse

ResourceId string
Resource Id.
ResourceId string
Resource Id.
resourceId String
Resource Id.
resourceId string
Resource Id.
resource_id str
Resource Id.
resourceId String
Resource Id.

NetworkManagerSecurityGroupItemResponse

NetworkGroupId This property is required. string
Network manager group Id.
NetworkGroupId This property is required. string
Network manager group Id.
networkGroupId This property is required. String
Network manager group Id.
networkGroupId This property is required. string
Network manager group Id.
network_group_id This property is required. str
Network manager group Id.
networkGroupId This property is required. String
Network manager group Id.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi