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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.network.listActiveSecurityUserRule
Explore with Pulumi AI
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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:listActiveSecurityUserRule
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Manager stringName - The name of the network manager.
- Resource
Group stringName - The name of the resource group.
- Regions List<string>
- List of regions.
- Skip
Token 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 stringName - The name of the network manager.
- Resource
Group stringName - The name of the resource group.
- Regions []string
- List of regions.
- Skip
Token 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 StringName - The name of the network manager.
- resource
Group StringName - The name of the resource group.
- regions List<String>
- List of regions.
- skip
Token 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 stringName - The name of the network manager.
- resource
Group stringName - The name of the resource group.
- regions string[]
- List of regions.
- skip
Token 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.
- network
Manager StringName - The name of the network manager.
- resource
Group StringName - The name of the resource group.
- regions List<String>
- List of regions.
- skip
Token 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:
- Skip
Token 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.
- skip
Token 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<Active
Default Security User Rule Response,Active Security User Rule Response>> - Gets a page of active security user rules.
- skip
Token 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
(Active
Default 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.
- Destination
Port 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.
- Provisioning
State string - The provisioning state of the security configuration user rule resource.
- Source
Port List<string>Ranges - The source port ranges.
- Sources
List<Pulumi.
Azure Native. Network. Inputs. Address Prefix Item Response> - The CIDR or source IP ranges.
- Commit
Time string - Deployment time string.
- Configuration
Description string - A description of the security user configuration.
- Configuration
Display stringName - A display name of the security user configuration.
- Display
Name string - A friendly name for the rule.
- Flag string
- Default rule flag.
- Id string
- Resource ID.
- Region string
- Deployment region.
- Rule
Collection List<Pulumi.Applies To Groups Azure Native. Network. Inputs. Network Manager Security Group Item Response> - Groups for rule collection
- Rule
Collection stringDescription - A description of the rule collection.
- Rule
Collection stringDisplay Name - A display name of the rule collection.
- Rule
Groups List<Pulumi.Azure Native. Network. Inputs. Configuration Group Response> - Effective configuration groups.
- Description string
- A description for this rule. Restricted to 140 chars.
- Destination
Port []stringRanges - The destination port ranges.
- Destinations
[]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.
- Provisioning
State string - The provisioning state of the security configuration user rule resource.
- Source
Port []stringRanges - The source port ranges.
- Sources
[]Address
Prefix Item Response - The CIDR or source IP ranges.
- Commit
Time string - Deployment time string.
- Configuration
Description string - A description of the security user configuration.
- Configuration
Display stringName - A display name of the security user configuration.
- Display
Name string - A friendly name for the rule.
- Flag string
- Default rule flag.
- Id string
- Resource ID.
- Region string
- Deployment region.
- Rule
Collection []NetworkApplies To Groups Manager Security Group Item Response - Groups for rule collection
- Rule
Collection stringDescription - A description of the rule collection.
- Rule
Collection stringDisplay Name - A display name of the rule collection.
- Rule
Groups []ConfigurationGroup Response - Effective configuration groups.
- description String
- A description for this rule. Restricted to 140 chars.
- destination
Port List<String>Ranges - The destination port ranges.
- destinations
List<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.
- provisioning
State String - The provisioning state of the security configuration user rule resource.
- source
Port List<String>Ranges - The source port ranges.
- sources
List<Address
Prefix Item Response> - The CIDR or source IP ranges.
- commit
Time String - Deployment time string.
- configuration
Description String - A description of the security user configuration.
- configuration
Display StringName - A display name of the security user configuration.
- display
Name String - A friendly name for the rule.
- flag String
- Default rule flag.
- id String
- Resource ID.
- region String
- Deployment region.
- rule
Collection List<NetworkApplies To Groups Manager Security Group Item Response> - Groups for rule collection
- rule
Collection StringDescription - A description of the rule collection.
- rule
Collection StringDisplay Name - A display name of the rule collection.
- rule
Groups List<ConfigurationGroup Response> - Effective configuration groups.
- description string
- A description for this rule. Restricted to 140 chars.
- destination
Port string[]Ranges - The destination port ranges.
- destinations
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.
- provisioning
State string - The provisioning state of the security configuration user rule resource.
- source
Port string[]Ranges - The source port ranges.
- sources
Address
Prefix Item Response[] - The CIDR or source IP ranges.
- commit
Time string - Deployment time string.
- configuration
Description string - A description of the security user configuration.
- configuration
Display stringName - A display name of the security user configuration.
- display
Name string - A friendly name for the rule.
- flag string
- Default rule flag.
- id string
- Resource ID.
- region string
- Deployment region.
- rule
Collection NetworkApplies To Groups Manager Security Group Item Response[] - Groups for rule collection
- rule
Collection stringDescription - A description of the rule collection.
- rule
Collection stringDisplay Name - A display name of the rule collection.
- rule
Groups 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[Address
Prefix 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[Address
Prefix 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.
- destination
Port 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.
- provisioning
State String - The provisioning state of the security configuration user rule resource.
- source
Port List<String>Ranges - The source port ranges.
- sources List<Property Map>
- The CIDR or source IP ranges.
- commit
Time String - Deployment time string.
- configuration
Description String - A description of the security user configuration.
- configuration
Display StringName - A display name of the security user configuration.
- display
Name String - A friendly name for the rule.
- flag String
- Default rule flag.
- id String
- Resource ID.
- region String
- Deployment region.
- rule
Collection List<Property Map>Applies To Groups - Groups for rule collection
- rule
Collection StringDescription - A description of the rule collection.
- rule
Collection StringDisplay Name - A display name of the rule collection.
- rule
Groups 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.
- Provisioning
State string - The provisioning state of the security configuration user rule resource.
- Commit
Time string - Deployment time string.
- Configuration
Description string - A description of the security user configuration.
- Configuration
Display stringName - A display name of the security user configuration.
- Description string
- A description for this rule.
- Destination
Port 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.
- Display
Name string - A friendly name for the rule.
- Id string
- Resource ID.
- Region string
- Deployment region.
- Rule
Collection List<Pulumi.Applies To Groups Azure Native. Network. Inputs. Network Manager Security Group Item Response> - Groups for rule collection
- Rule
Collection stringDescription - A description of the rule collection.
- Rule
Collection stringDisplay Name - A display name of the rule collection.
- Rule
Groups List<Pulumi.Azure Native. Network. Inputs. Configuration Group Response> - Effective configuration groups.
- Source
Port 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.
- Provisioning
State string - The provisioning state of the security configuration user rule resource.
- Commit
Time string - Deployment time string.
- Configuration
Description string - A description of the security user configuration.
- Configuration
Display stringName - A display name of the security user configuration.
- Description string
- A description for this rule.
- Destination
Port []stringRanges - The destination port ranges.
- Destinations
[]Address
Prefix Item Response - The destination address prefixes. CIDR or destination IP ranges.
- Display
Name string - A friendly name for the rule.
- Id string
- Resource ID.
- Region string
- Deployment region.
- Rule
Collection []NetworkApplies To Groups Manager Security Group Item Response - Groups for rule collection
- Rule
Collection stringDescription - A description of the rule collection.
- Rule
Collection stringDisplay Name - A display name of the rule collection.
- Rule
Groups []ConfigurationGroup Response - Effective configuration groups.
- Source
Port []stringRanges - The source port ranges.
- Sources
[]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.
- provisioning
State String - The provisioning state of the security configuration user rule resource.
- commit
Time String - Deployment time string.
- configuration
Description String - A description of the security user configuration.
- configuration
Display StringName - A display name of the security user configuration.
- description String
- A description for this rule.
- destination
Port List<String>Ranges - The destination port ranges.
- destinations
List<Address
Prefix Item Response> - The destination address prefixes. CIDR or destination IP ranges.
- display
Name String - A friendly name for the rule.
- id String
- Resource ID.
- region String
- Deployment region.
- rule
Collection List<NetworkApplies To Groups Manager Security Group Item Response> - Groups for rule collection
- rule
Collection StringDescription - A description of the rule collection.
- rule
Collection StringDisplay Name - A display name of the rule collection.
- rule
Groups List<ConfigurationGroup Response> - Effective configuration groups.
- source
Port List<String>Ranges - The source port ranges.
- sources
List<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.
- provisioning
State string - The provisioning state of the security configuration user rule resource.
- commit
Time string - Deployment time string.
- configuration
Description string - A description of the security user configuration.
- configuration
Display stringName - A display name of the security user configuration.
- description string
- A description for this rule.
- destination
Port string[]Ranges - The destination port ranges.
- destinations
Address
Prefix Item Response[] - The destination address prefixes. CIDR or destination IP ranges.
- display
Name string - A friendly name for the rule.
- id string
- Resource ID.
- region string
- Deployment region.
- rule
Collection NetworkApplies To Groups Manager Security Group Item Response[] - Groups for rule collection
- rule
Collection stringDescription - A description of the rule collection.
- rule
Collection stringDisplay Name - A display name of the rule collection.
- rule
Groups ConfigurationGroup Response[] - Effective configuration groups.
- source
Port string[]Ranges - The source port ranges.
- sources
Address
Prefix 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[Address
Prefix 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[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.
- provisioning
State String - The provisioning state of the security configuration user rule resource.
- commit
Time String - Deployment time string.
- configuration
Description String - A description of the security user configuration.
- configuration
Display StringName - A display name of the security user configuration.
- description String
- A description for this rule.
- destination
Port List<String>Ranges - The destination port ranges.
- destinations List<Property Map>
- The destination address prefixes. CIDR or destination IP ranges.
- display
Name String - A friendly name for the rule.
- id String
- Resource ID.
- region String
- Deployment region.
- rule
Collection List<Property Map>Applies To Groups - Groups for rule collection
- rule
Collection StringDescription - A description of the rule collection.
- rule
Collection StringDisplay Name - A display name of the rule collection.
- rule
Groups List<Property Map> - Effective configuration groups.
- source
Port List<String>Ranges - The source port ranges.
- sources List<Property Map>
- The CIDR or source IP ranges.
AddressPrefixItemResponse
- Address
Prefix string - Address prefix.
- Address
Prefix stringType - Address prefix type.
- Address
Prefix string - Address prefix.
- Address
Prefix stringType - Address prefix type.
- address
Prefix String - Address prefix.
- address
Prefix StringType - Address prefix type.
- address
Prefix string - Address prefix.
- address
Prefix stringType - Address prefix type.
- address_
prefix str - Address prefix.
- address_
prefix_ strtype - Address prefix type.
- address
Prefix String - Address prefix.
- address
Prefix StringType - Address prefix type.
ConfigurationGroupResponse
- Provisioning
State string - The provisioning state of the scope assignment resource.
- Resource
Guid string - Unique identifier for this resource.
- Conditional
Membership string - Network group conditional filter.
- Description string
- A description of the network group.
- Display
Name string - A friendly name for the network group.
- Group
Members List<Pulumi.Azure Native. Network. Inputs. Group Members Item Response> - Group members of network group.
- Id string
- Network group ID.
- Member
Type string - Group member type.
- Provisioning
State string - The provisioning state of the scope assignment resource.
- Resource
Guid string - Unique identifier for this resource.
- Conditional
Membership string - Network group conditional filter.
- Description string
- A description of the network group.
- Display
Name string - A friendly name for the network group.
- Group
Members []GroupMembers Item Response - Group members of network group.
- Id string
- Network group ID.
- Member
Type string - Group member type.
- provisioning
State String - The provisioning state of the scope assignment resource.
- resource
Guid String - Unique identifier for this resource.
- conditional
Membership String - Network group conditional filter.
- description String
- A description of the network group.
- display
Name String - A friendly name for the network group.
- group
Members List<GroupMembers Item Response> - Group members of network group.
- id String
- Network group ID.
- member
Type String - Group member type.
- provisioning
State string - The provisioning state of the scope assignment resource.
- resource
Guid string - Unique identifier for this resource.
- conditional
Membership string - Network group conditional filter.
- description string
- A description of the network group.
- display
Name string - A friendly name for the network group.
- group
Members GroupMembers Item Response[] - Group members of network group.
- id string
- Network group ID.
- member
Type 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.
- provisioning
State String - The provisioning state of the scope assignment resource.
- resource
Guid String - Unique identifier for this resource.
- conditional
Membership String - Network group conditional filter.
- description String
- A description of the network group.
- display
Name String - A friendly name for the network group.
- group
Members List<Property Map> - Group members of network group.
- id String
- Network group ID.
- member
Type String - Group member type.
GroupMembersItemResponse
- Resource
Id string - Resource Id.
- Resource
Id string - Resource Id.
- resource
Id String - Resource Id.
- resource
Id string - Resource Id.
- resource_
id str - Resource Id.
- resource
Id String - Resource Id.
NetworkManagerSecurityGroupItemResponse
- Network
Group stringId - Network manager group Id.
- Network
Group stringId - Network manager group Id.
- network
Group StringId - Network manager group Id.
- network
Group stringId - Network manager group Id.
- network_
group_ strid - Network manager group Id.
- network
Group StringId - 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 v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi