1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. listActiveSecurityUserRules
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.network.listActiveSecurityUserRules

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Lists Active Security User Rules in a network manager. Azure REST API version: 2022-04-01-preview.

    Other available API versions: 2021-05-01-preview.

    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>
    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]
    func ListActiveSecurityUserRules(ctx *Context, args *ListActiveSecurityUserRulesArgs, opts ...InvokeOption) (*ListActiveSecurityUserRulesResult, error)
    func ListActiveSecurityUserRulesOutput(ctx *Context, args *ListActiveSecurityUserRulesOutputArgs, opts ...InvokeOption) ListActiveSecurityUserRulesResultOutput

    > 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)
    }
    public static CompletableFuture<ListActiveSecurityUserRulesResult> listActiveSecurityUserRules(ListActiveSecurityUserRulesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:listActiveSecurityUserRules
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkManagerName string
    The name of the network manager.
    ResourceGroupName 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 string
    The name of the network manager.
    ResourceGroupName 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 String
    The name of the network manager.
    resourceGroupName 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 string
    The name of the network manager.
    resourceGroupName 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 str
    The name of the network manager.
    resource_group_name 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 String
    The name of the network manager.
    resourceGroupName 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 string
    A description for this rule. Restricted to 140 chars.
    DestinationPortRanges List<string>
    The destination port ranges.
    Destinations List<Pulumi.AzureNative.Network.Inputs.AddressPrefixItemResponse>
    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.
    SourcePortRanges List<string>
    The source port ranges.
    Sources 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 string
    A description for this rule. Restricted to 140 chars.
    DestinationPortRanges []string
    The destination port ranges.
    Destinations []AddressPrefixItemResponse
    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.
    SourcePortRanges []string
    The source port ranges.
    Sources []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 String
    A description for this rule. Restricted to 140 chars.
    destinationPortRanges List<String>
    The destination port ranges.
    destinations List<AddressPrefixItemResponse>
    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.
    sourcePortRanges List<String>
    The source port ranges.
    sources 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 string
    A description for this rule. Restricted to 140 chars.
    destinationPortRanges string[]
    The destination port ranges.
    destinations AddressPrefixItemResponse[]
    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.
    sourcePortRanges string[]
    The source port ranges.
    sources 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 str
    A description for this rule. Restricted to 140 chars.
    destination_port_ranges Sequence[str]
    The destination port ranges.
    destinations Sequence[AddressPrefixItemResponse]
    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_ranges Sequence[str]
    The source port ranges.
    sources 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 String
    A description for this rule. Restricted to 140 chars.
    destinationPortRanges List<String>
    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.
    sourcePortRanges List<String>
    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.
    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 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.
    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 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.
    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 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.
    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 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.
    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 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_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 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.
    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 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.AzureNative.Network.Inputs.GroupMembersItemResponse>
    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 []GroupMembersItemResponse
    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<GroupMembersItemResponse>
    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 GroupMembersItemResponse[]
    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[GroupMembersItemResponse]
    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

    NetworkGroupId string
    Network manager group Id.
    NetworkGroupId string
    Network manager group Id.
    networkGroupId String
    Network manager group Id.
    networkGroupId string
    Network manager group Id.
    network_group_id str
    Network manager group Id.
    networkGroupId String
    Network manager group Id.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi