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.network.listActiveSecurityUserRule
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
Lists Active Security User Rules in a network manager. Azure REST API version: 2021-02-01-preview.
Using listActiveSecurityUserRule
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 listActiveSecurityUserRule(args: ListActiveSecurityUserRuleArgs, opts?: InvokeOptions): Promise<ListActiveSecurityUserRuleResult>
function listActiveSecurityUserRuleOutput(args: ListActiveSecurityUserRuleOutputArgs, opts?: InvokeOptions): Output<ListActiveSecurityUserRuleResult>def list_active_security_user_rule(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) -> ListActiveSecurityUserRuleResult
def list_active_security_user_rule_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[ListActiveSecurityUserRuleResult]func ListActiveSecurityUserRule(ctx *Context, args *ListActiveSecurityUserRuleArgs, opts ...InvokeOption) (*ListActiveSecurityUserRuleResult, error)
func ListActiveSecurityUserRuleOutput(ctx *Context, args *ListActiveSecurityUserRuleOutputArgs, opts ...InvokeOption) ListActiveSecurityUserRuleResultOutput> Note: This function is named ListActiveSecurityUserRule in the Go SDK.
public static class ListActiveSecurityUserRule 
{
    public static Task<ListActiveSecurityUserRuleResult> InvokeAsync(ListActiveSecurityUserRuleArgs args, InvokeOptions? opts = null)
    public static Output<ListActiveSecurityUserRuleResult> Invoke(ListActiveSecurityUserRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListActiveSecurityUserRuleResult> listActiveSecurityUserRule(ListActiveSecurityUserRuleArgs args, InvokeOptions options)
public static Output<ListActiveSecurityUserRuleResult> listActiveSecurityUserRule(ListActiveSecurityUserRuleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:listActiveSecurityUserRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkManager stringName 
- The name of the network manager.
- ResourceGroup stringName 
- 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.
- NetworkManager stringName 
- The name of the network manager.
- ResourceGroup stringName 
- 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.
- networkManager StringName 
- The name of the network manager.
- resourceGroup StringName 
- 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.
- networkManager stringName 
- The name of the network manager.
- resourceGroup stringName 
- 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_ strname 
- The name of the network manager.
- resource_group_ strname 
- 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.
- networkManager StringName 
- The name of the network manager.
- resourceGroup StringName 
- 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.
listActiveSecurityUserRule 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.Azure Native. Network. Outputs. Active Default Security User Rule Response, Pulumi. Azure Native. Network. Outputs. Active Security User Rule Response>> 
- 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<ActiveDefault Security User Rule Response,Active Security User Rule Response>> 
- 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
(ActiveDefault Security User Rule Response | Active Security User Rule Response)[] 
- 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.
Supporting Types
ActiveDefaultSecurityUserRuleResponse     
- Description string
- A description for this rule. Restricted to 140 chars.
- DestinationPort List<string>Ranges 
- The destination port ranges.
- Destinations
List<Pulumi.Azure Native. Network. Inputs. Address Prefix Item Response> 
- The destination address prefixes. CIDR or destination IP ranges.
- Direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- Protocol string
- Network protocol this rule applies to.
- ProvisioningState string
- The provisioning state of the security configuration user rule resource.
- SourcePort List<string>Ranges 
- The source port ranges.
- Sources
List<Pulumi.Azure Native. Network. Inputs. Address Prefix Item Response> 
- The CIDR or source IP ranges.
- CommitTime string
- Deployment time string.
- ConfigurationDescription string
- A description of the security user configuration.
- ConfigurationDisplay stringName 
- 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.
- RuleCollection List<Pulumi.Applies To Groups Azure Native. Network. Inputs. Network Manager Security Group Item Response> 
- Groups for rule collection
- RuleCollection stringDescription 
- A description of the rule collection.
- RuleCollection stringDisplay Name 
- A display name of the rule collection.
- RuleGroups List<Pulumi.Azure Native. Network. Inputs. Configuration Group Response> 
- Effective configuration groups.
- Description string
- A description for this rule. Restricted to 140 chars.
- DestinationPort []stringRanges 
- The destination port ranges.
- Destinations
[]AddressPrefix Item Response 
- The destination address prefixes. CIDR or destination IP ranges.
- Direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- Protocol string
- Network protocol this rule applies to.
- ProvisioningState string
- The provisioning state of the security configuration user rule resource.
- SourcePort []stringRanges 
- The source port ranges.
- Sources
[]AddressPrefix Item Response 
- The CIDR or source IP ranges.
- CommitTime string
- Deployment time string.
- ConfigurationDescription string
- A description of the security user configuration.
- ConfigurationDisplay stringName 
- 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.
- RuleCollection []NetworkApplies To Groups Manager Security Group Item Response 
- Groups for rule collection
- RuleCollection stringDescription 
- A description of the rule collection.
- RuleCollection stringDisplay Name 
- A display name of the rule collection.
- RuleGroups []ConfigurationGroup Response 
- Effective configuration groups.
- description String
- A description for this rule. Restricted to 140 chars.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations
List<AddressPrefix Item Response> 
- The destination address prefixes. CIDR or destination IP ranges.
- direction String
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol String
- Network protocol this rule applies to.
- provisioningState String
- The provisioning state of the security configuration user rule resource.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources
List<AddressPrefix Item Response> 
- The CIDR or source IP ranges.
- commitTime String
- Deployment time string.
- configurationDescription String
- A description of the security user configuration.
- configurationDisplay StringName 
- 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.
- ruleCollection List<NetworkApplies To Groups Manager Security Group Item Response> 
- Groups for rule collection
- ruleCollection StringDescription 
- A description of the rule collection.
- ruleCollection StringDisplay Name 
- A display name of the rule collection.
- ruleGroups List<ConfigurationGroup Response> 
- Effective configuration groups.
- description string
- A description for this rule. Restricted to 140 chars.
- destinationPort string[]Ranges 
- The destination port ranges.
- destinations
AddressPrefix Item Response[] 
- The destination address prefixes. CIDR or destination IP ranges.
- direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol string
- Network protocol this rule applies to.
- provisioningState string
- The provisioning state of the security configuration user rule resource.
- sourcePort string[]Ranges 
- The source port ranges.
- sources
AddressPrefix Item Response[] 
- The CIDR or source IP ranges.
- commitTime string
- Deployment time string.
- configurationDescription string
- A description of the security user configuration.
- configurationDisplay stringName 
- 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.
- ruleCollection NetworkApplies To Groups Manager Security Group Item Response[] 
- Groups for rule collection
- ruleCollection stringDescription 
- A description of the rule collection.
- ruleCollection stringDisplay Name 
- A display name of the rule collection.
- ruleGroups ConfigurationGroup Response[] 
- Effective configuration groups.
- description str
- A description for this rule. Restricted to 140 chars.
- destination_port_ Sequence[str]ranges 
- The destination port ranges.
- destinations
Sequence[AddressPrefix Item Response] 
- The destination address prefixes. CIDR or destination IP ranges.
- direction str
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol str
- Network protocol this rule applies to.
- provisioning_state str
- The provisioning state of the security configuration user rule resource.
- source_port_ Sequence[str]ranges 
- The source port ranges.
- sources
Sequence[AddressPrefix Item Response] 
- The CIDR or source IP ranges.
- commit_time str
- Deployment time string.
- configuration_description str
- A description of the security user configuration.
- configuration_display_ strname 
- 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_ Sequence[Networkapplies_ to_ groups Manager Security Group Item Response] 
- Groups for rule collection
- rule_collection_ strdescription 
- A description of the rule collection.
- rule_collection_ strdisplay_ name 
- A display name of the rule collection.
- rule_groups Sequence[ConfigurationGroup Response] 
- Effective configuration groups.
- description String
- A description for this rule. Restricted to 140 chars.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations List<Property Map>
- The destination address prefixes. CIDR or destination IP ranges.
- direction String
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol String
- Network protocol this rule applies to.
- provisioningState String
- The provisioning state of the security configuration user rule resource.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources List<Property Map>
- The CIDR or source IP ranges.
- commitTime String
- Deployment time string.
- configurationDescription String
- A description of the security user configuration.
- configurationDisplay StringName 
- 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.
- ruleCollection List<Property Map>Applies To Groups 
- Groups for rule collection
- ruleCollection StringDescription 
- A description of the rule collection.
- ruleCollection StringDisplay Name 
- A display name of the rule collection.
- ruleGroups List<Property Map>
- Effective configuration groups.
ActiveSecurityUserRuleResponse    
- Direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- Protocol string
- Network protocol this rule applies to.
- ProvisioningState 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.
- ConfigurationDisplay stringName 
- A display name of the security user configuration.
- Description string
- A description for this rule.
- DestinationPort List<string>Ranges 
- The destination port ranges.
- Destinations
List<Pulumi.Azure Native. Network. Inputs. Address Prefix Item Response> 
- 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.
- RuleCollection List<Pulumi.Applies To Groups Azure Native. Network. Inputs. Network Manager Security Group Item Response> 
- Groups for rule collection
- RuleCollection stringDescription 
- A description of the rule collection.
- RuleCollection stringDisplay Name 
- A display name of the rule collection.
- RuleGroups List<Pulumi.Azure Native. Network. Inputs. Configuration Group Response> 
- Effective configuration groups.
- SourcePort List<string>Ranges 
- The source port ranges.
- Sources
List<Pulumi.Azure Native. Network. Inputs. Address Prefix Item Response> 
- The CIDR or source IP ranges.
- Direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- Protocol string
- Network protocol this rule applies to.
- ProvisioningState 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.
- ConfigurationDisplay stringName 
- A display name of the security user configuration.
- Description string
- A description for this rule.
- DestinationPort []stringRanges 
- The destination port ranges.
- Destinations
[]AddressPrefix Item Response 
- 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.
- RuleCollection []NetworkApplies To Groups Manager Security Group Item Response 
- Groups for rule collection
- RuleCollection stringDescription 
- A description of the rule collection.
- RuleCollection stringDisplay Name 
- A display name of the rule collection.
- RuleGroups []ConfigurationGroup Response 
- Effective configuration groups.
- SourcePort []stringRanges 
- The source port ranges.
- Sources
[]AddressPrefix Item Response 
- The CIDR or source IP ranges.
- direction String
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol String
- Network protocol this rule applies to.
- provisioningState 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.
- configurationDisplay StringName 
- A display name of the security user configuration.
- description String
- A description for this rule.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations
List<AddressPrefix Item Response> 
- 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.
- ruleCollection List<NetworkApplies To Groups Manager Security Group Item Response> 
- Groups for rule collection
- ruleCollection StringDescription 
- A description of the rule collection.
- ruleCollection StringDisplay Name 
- A display name of the rule collection.
- ruleGroups List<ConfigurationGroup Response> 
- Effective configuration groups.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources
List<AddressPrefix Item Response> 
- The CIDR or source IP ranges.
- direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol string
- Network protocol this rule applies to.
- provisioningState 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.
- configurationDisplay stringName 
- A display name of the security user configuration.
- description string
- A description for this rule.
- destinationPort string[]Ranges 
- The destination port ranges.
- destinations
AddressPrefix Item Response[] 
- 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.
- ruleCollection NetworkApplies To Groups Manager Security Group Item Response[] 
- Groups for rule collection
- ruleCollection stringDescription 
- A description of the rule collection.
- ruleCollection stringDisplay Name 
- A display name of the rule collection.
- ruleGroups ConfigurationGroup Response[] 
- Effective configuration groups.
- sourcePort string[]Ranges 
- The source port ranges.
- sources
AddressPrefix Item Response[] 
- The CIDR or source IP ranges.
- direction str
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol str
- Network protocol this rule applies to.
- provisioning_state 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_ strname 
- A display name of the security user configuration.
- description str
- A description for this rule.
- destination_port_ Sequence[str]ranges 
- The destination port ranges.
- destinations
Sequence[AddressPrefix Item Response] 
- 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_ Sequence[Networkapplies_ to_ groups Manager Security Group Item Response] 
- Groups for rule collection
- rule_collection_ strdescription 
- A description of the rule collection.
- rule_collection_ strdisplay_ name 
- A display name of the rule collection.
- rule_groups Sequence[ConfigurationGroup Response] 
- Effective configuration groups.
- source_port_ Sequence[str]ranges 
- The source port ranges.
- sources
Sequence[AddressPrefix Item Response] 
- The CIDR or source IP ranges.
- direction String
- Indicates if the traffic matched against the rule in inbound or outbound.
- protocol String
- Network protocol this rule applies to.
- provisioningState 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.
- configurationDisplay StringName 
- A display name of the security user configuration.
- description String
- A description for this rule.
- destinationPort List<String>Ranges 
- 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.
- ruleCollection List<Property Map>Applies To Groups 
- Groups for rule collection
- ruleCollection StringDescription 
- A description of the rule collection.
- ruleCollection StringDisplay Name 
- A display name of the rule collection.
- ruleGroups List<Property Map>
- Effective configuration groups.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources List<Property Map>
- The CIDR or source IP ranges.
AddressPrefixItemResponse   
- AddressPrefix string
- Address prefix.
- AddressPrefix stringType 
- Address prefix type.
- AddressPrefix string
- Address prefix.
- AddressPrefix stringType 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix StringType 
- Address prefix type.
- addressPrefix string
- Address prefix.
- addressPrefix stringType 
- Address prefix type.
- address_prefix str
- Address prefix.
- address_prefix_ strtype 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix StringType 
- Address prefix type.
ConfigurationGroupResponse  
- ProvisioningState string
- The provisioning state of the scope assignment resource.
- ResourceGuid 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.Azure Native. Network. Inputs. Group Members Item Response> 
- Group members of network group.
- Id string
- Network group ID.
- MemberType string
- Group member type.
- ProvisioningState string
- The provisioning state of the scope assignment resource.
- ResourceGuid 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 []GroupMembers Item Response 
- Group members of network group.
- Id string
- Network group ID.
- MemberType string
- Group member type.
- provisioningState String
- The provisioning state of the scope assignment resource.
- resourceGuid 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<GroupMembers Item Response> 
- Group members of network group.
- id String
- Network group ID.
- memberType String
- Group member type.
- provisioningState string
- The provisioning state of the scope assignment resource.
- resourceGuid 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 GroupMembers Item Response[] 
- Group members of network group.
- id string
- Network group ID.
- memberType string
- Group member type.
- provisioning_state str
- The provisioning state of the scope assignment resource.
- resource_guid 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[GroupMembers Item Response] 
- Group members of network group.
- id str
- Network group ID.
- member_type str
- Group member type.
- provisioningState String
- The provisioning state of the scope assignment resource.
- resourceGuid 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
- Group member type.
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     
- NetworkGroup stringId 
- Network manager group Id.
- NetworkGroup stringId 
- Network manager group Id.
- networkGroup StringId 
- Network manager group Id.
- networkGroup stringId 
- Network manager group Id.
- network_group_ strid 
- Network manager group Id.
- networkGroup StringId 
- Network manager group Id.
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