azure-native.network.listActiveSecurityAdminRule
Explore with Pulumi AI
Lists active security admin rules in a network manager. API Version: 2021-02-01-preview.
Using listActiveSecurityAdminRule
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 listActiveSecurityAdminRule(args: ListActiveSecurityAdminRuleArgs, opts?: InvokeOptions): Promise<ListActiveSecurityAdminRuleResult>
function listActiveSecurityAdminRuleOutput(args: ListActiveSecurityAdminRuleOutputArgs, opts?: InvokeOptions): Output<ListActiveSecurityAdminRuleResult>
def list_active_security_admin_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) -> ListActiveSecurityAdminRuleResult
def list_active_security_admin_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[ListActiveSecurityAdminRuleResult]
func ListActiveSecurityAdminRule(ctx *Context, args *ListActiveSecurityAdminRuleArgs, opts ...InvokeOption) (*ListActiveSecurityAdminRuleResult, error)
func ListActiveSecurityAdminRuleOutput(ctx *Context, args *ListActiveSecurityAdminRuleOutputArgs, opts ...InvokeOption) ListActiveSecurityAdminRuleResultOutput
> Note: This function is named ListActiveSecurityAdminRule
in the Go SDK.
public static class ListActiveSecurityAdminRule
{
public static Task<ListActiveSecurityAdminRuleResult> InvokeAsync(ListActiveSecurityAdminRuleArgs args, InvokeOptions? opts = null)
public static Output<ListActiveSecurityAdminRuleResult> Invoke(ListActiveSecurityAdminRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListActiveSecurityAdminRuleResult> listActiveSecurityAdminRule(ListActiveSecurityAdminRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:listActiveSecurityAdminRule
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.
listActiveSecurityAdminRule 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 Admin Rule Response, Pulumi. Azure Native. Network. Outputs. Active Security Admin Rule Response>> Gets a page of active security admin 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 Admin Rule Response,Active Security Admin Rule Response>> Gets a page of active security admin 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 Admin Rule Response | Active Security Admin Rule Response)[] Gets a page of active security admin 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 admin rules.
Supporting Types
ActiveDefaultSecurityAdminRuleResponse
- Access string
Indicates the access allowed for this particular rule
- 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.
- Display
Name string A friendly name for the rule.
- Priority int
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol string
Network protocol this rule applies to.
- Provisioning
State string The provisioning state of the 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 admin configuration.
- Configuration
Display stringName A display name of the security admin configuration.
- 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.
- Access string
Indicates the access allowed for this particular rule
- 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.
- Display
Name string A friendly name for the rule.
- Priority int
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol string
Network protocol this rule applies to.
- Provisioning
State string The provisioning state of the 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 admin configuration.
- Configuration
Display stringName A display name of the security admin configuration.
- 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.
- access String
Indicates the access allowed for this particular rule
- 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.
- display
Name String A friendly name for the rule.
- priority Integer
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String
Network protocol this rule applies to.
- provisioning
State String The provisioning state of the 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 admin configuration.
- configuration
Display StringName A display name of the security admin configuration.
- 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.
- access string
Indicates the access allowed for this particular rule
- 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.
- display
Name string A friendly name for the rule.
- priority number
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol string
Network protocol this rule applies to.
- provisioning
State string The provisioning state of the 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 admin configuration.
- configuration
Display stringName A display name of the security admin configuration.
- 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.
- access str
Indicates the access allowed for this particular rule
- 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.
- display_
name str A friendly name for the rule.
- priority int
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol str
Network protocol this rule applies to.
- provisioning_
state str The provisioning state of the 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 admin configuration.
- configuration_
display_ strname A display name of the security admin configuration.
- 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.
- access String
Indicates the access allowed for this particular rule
- 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.
- display
Name String A friendly name for the rule.
- priority Number
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String
Network protocol this rule applies to.
- provisioning
State String The provisioning state of the 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 admin configuration.
- configuration
Display StringName A display name of the security admin configuration.
- 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.
ActiveSecurityAdminRuleResponse
- Access string
Indicates the access allowed for this particular rule
- 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 resource.
- Commit
Time string Deployment time string.
- Configuration
Description string A description of the security admin configuration.
- Configuration
Display stringName A display name of the security admin configuration.
- 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.
- Display
Name string A friendly name for the rule.
- Id string
Resource ID.
- Priority int
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- 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.
- Access string
Indicates the access allowed for this particular rule
- 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 resource.
- Commit
Time string Deployment time string.
- Configuration
Description string A description of the security admin configuration.
- Configuration
Display stringName A display name of the security admin configuration.
- 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.
- Display
Name string A friendly name for the rule.
- Id string
Resource ID.
- Priority int
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- 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.
- access String
Indicates the access allowed for this particular rule
- 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 resource.
- commit
Time String Deployment time string.
- configuration
Description String A description of the security admin configuration.
- configuration
Display StringName A display name of the security admin configuration.
- 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.
- display
Name String A friendly name for the rule.
- id String
Resource ID.
- priority Integer
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- 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.
- access string
Indicates the access allowed for this particular rule
- 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 resource.
- commit
Time string Deployment time string.
- configuration
Description string A description of the security admin configuration.
- configuration
Display stringName A display name of the security admin configuration.
- 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.
- display
Name string A friendly name for the rule.
- id string
Resource ID.
- priority number
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- 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.
- access str
Indicates the access allowed for this particular rule
- 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 resource.
- commit_
time str Deployment time string.
- configuration_
description str A description of the security admin configuration.
- configuration_
display_ strname A display name of the security admin configuration.
- 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.
- display_
name str A friendly name for the rule.
- id str
Resource ID.
- priority int
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- 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.
- access String
Indicates the access allowed for this particular rule
- 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 resource.
- commit
Time String Deployment time string.
- configuration
Description String A description of the security admin configuration.
- configuration
Display StringName A display name of the security admin configuration.
- 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.
- display
Name String A friendly name for the rule.
- id String
Resource ID.
- priority Number
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- 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.
- 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
Resource ID.
- Member
Type string Group member type.
- Provisioning
State string The provisioning state of the scope assignment 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
Resource ID.
- Member
Type string Group member type.
- provisioning
State String The provisioning state of the scope assignment 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
Resource ID.
- member
Type String Group member type.
- provisioning
State string The provisioning state of the scope assignment 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
Resource ID.
- member
Type string Group member type.
- provisioning_
state str The provisioning state of the scope assignment 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
Resource ID.
- member_
type str Group member type.
- provisioning
State String The provisioning state of the scope assignment 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
Resource 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