azure-native.network.listNetworkManagerEffectiveSecurityAdminRule
Explore with Pulumi AI
List all effective security admin rules applied on a virtual network. API Version: 2021-02-01-preview.
Using listNetworkManagerEffectiveSecurityAdminRule
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 listNetworkManagerEffectiveSecurityAdminRule(args: ListNetworkManagerEffectiveSecurityAdminRuleArgs, opts?: InvokeOptions): Promise<ListNetworkManagerEffectiveSecurityAdminRuleResult>
function listNetworkManagerEffectiveSecurityAdminRuleOutput(args: ListNetworkManagerEffectiveSecurityAdminRuleOutputArgs, opts?: InvokeOptions): Output<ListNetworkManagerEffectiveSecurityAdminRuleResult>
def list_network_manager_effective_security_admin_rule(resource_group_name: Optional[str] = None,
skip_token: Optional[str] = None,
virtual_network_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListNetworkManagerEffectiveSecurityAdminRuleResult
def list_network_manager_effective_security_admin_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None,
skip_token: Optional[pulumi.Input[str]] = None,
virtual_network_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListNetworkManagerEffectiveSecurityAdminRuleResult]
func ListNetworkManagerEffectiveSecurityAdminRule(ctx *Context, args *ListNetworkManagerEffectiveSecurityAdminRuleArgs, opts ...InvokeOption) (*ListNetworkManagerEffectiveSecurityAdminRuleResult, error)
func ListNetworkManagerEffectiveSecurityAdminRuleOutput(ctx *Context, args *ListNetworkManagerEffectiveSecurityAdminRuleOutputArgs, opts ...InvokeOption) ListNetworkManagerEffectiveSecurityAdminRuleResultOutput
> Note: This function is named ListNetworkManagerEffectiveSecurityAdminRule
in the Go SDK.
public static class ListNetworkManagerEffectiveSecurityAdminRule
{
public static Task<ListNetworkManagerEffectiveSecurityAdminRuleResult> InvokeAsync(ListNetworkManagerEffectiveSecurityAdminRuleArgs args, InvokeOptions? opts = null)
public static Output<ListNetworkManagerEffectiveSecurityAdminRuleResult> Invoke(ListNetworkManagerEffectiveSecurityAdminRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListNetworkManagerEffectiveSecurityAdminRuleResult> listNetworkManagerEffectiveSecurityAdminRule(ListNetworkManagerEffectiveSecurityAdminRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:listNetworkManagerEffectiveSecurityAdminRule
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group.
- Virtual
Network stringName The name of the virtual network.
- 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.
- Resource
Group stringName The name of the resource group.
- Virtual
Network stringName The name of the virtual network.
- 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.
- resource
Group StringName The name of the resource group.
- virtual
Network StringName The name of the virtual network.
- 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.
- resource
Group stringName The name of the resource group.
- virtual
Network stringName The name of the virtual network.
- 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.
- resource_
group_ strname The name of the resource group.
- virtual_
network_ strname The name of the virtual network.
- 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.
- resource
Group StringName The name of the resource group.
- virtual
Network StringName The name of the virtual network.
- 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.
listNetworkManagerEffectiveSecurityAdminRule 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. Effective Default Security Admin Rule Response, Pulumi. Azure Native. Network. Outputs. Effective Security Admin Rule Response>> Gets a page of NetworkManagerEffectiveSecurityAdminRules
- 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<Effective
Default Security Admin Rule Response,Effective Security Admin Rule Response>> Gets a page of NetworkManagerEffectiveSecurityAdminRules
- 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
(Effective
Default Security Admin Rule Response | Effective Security Admin Rule Response)[] Gets a page of NetworkManagerEffectiveSecurityAdminRules
- 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 NetworkManagerEffectiveSecurityAdminRules
Supporting Types
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.
EffectiveDefaultSecurityAdminRuleResponse
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
EffectiveSecurityAdminRuleResponse
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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