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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.network.getFirewallPolicyRuleGroup
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets the specified FirewallPolicyRuleGroup. Azure REST API version: 2020-04-01.
Using getFirewallPolicyRuleGroup
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 getFirewallPolicyRuleGroup(args: GetFirewallPolicyRuleGroupArgs, opts?: InvokeOptions): Promise<GetFirewallPolicyRuleGroupResult>
function getFirewallPolicyRuleGroupOutput(args: GetFirewallPolicyRuleGroupOutputArgs, opts?: InvokeOptions): Output<GetFirewallPolicyRuleGroupResult>
def get_firewall_policy_rule_group(firewall_policy_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rule_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFirewallPolicyRuleGroupResult
def get_firewall_policy_rule_group_output(firewall_policy_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
rule_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFirewallPolicyRuleGroupResult]
func LookupFirewallPolicyRuleGroup(ctx *Context, args *LookupFirewallPolicyRuleGroupArgs, opts ...InvokeOption) (*LookupFirewallPolicyRuleGroupResult, error)
func LookupFirewallPolicyRuleGroupOutput(ctx *Context, args *LookupFirewallPolicyRuleGroupOutputArgs, opts ...InvokeOption) LookupFirewallPolicyRuleGroupResultOutput
> Note: This function is named LookupFirewallPolicyRuleGroup
in the Go SDK.
public static class GetFirewallPolicyRuleGroup
{
public static Task<GetFirewallPolicyRuleGroupResult> InvokeAsync(GetFirewallPolicyRuleGroupArgs args, InvokeOptions? opts = null)
public static Output<GetFirewallPolicyRuleGroupResult> Invoke(GetFirewallPolicyRuleGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFirewallPolicyRuleGroupResult> getFirewallPolicyRuleGroup(GetFirewallPolicyRuleGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getFirewallPolicyRuleGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Firewall
Policy stringName - The name of the Firewall Policy.
- Resource
Group stringName - The name of the resource group.
- Rule
Group stringName - The name of the FirewallPolicyRuleGroup.
- Firewall
Policy stringName - The name of the Firewall Policy.
- Resource
Group stringName - The name of the resource group.
- Rule
Group stringName - The name of the FirewallPolicyRuleGroup.
- firewall
Policy StringName - The name of the Firewall Policy.
- resource
Group StringName - The name of the resource group.
- rule
Group StringName - The name of the FirewallPolicyRuleGroup.
- firewall
Policy stringName - The name of the Firewall Policy.
- resource
Group stringName - The name of the resource group.
- rule
Group stringName - The name of the FirewallPolicyRuleGroup.
- firewall_
policy_ strname - The name of the Firewall Policy.
- resource_
group_ strname - The name of the resource group.
- rule_
group_ strname - The name of the FirewallPolicyRuleGroup.
- firewall
Policy StringName - The name of the Firewall Policy.
- resource
Group StringName - The name of the resource group.
- rule
Group StringName - The name of the FirewallPolicyRuleGroup.
getFirewallPolicyRuleGroup Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - The provisioning state of the firewall policy rule group resource.
- Type string
- Rule Group type.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Priority int
- Priority of the Firewall Policy Rule Group resource.
- Rules
List<Union<Pulumi.
Azure Native. Network. Outputs. Firewall Policy Filter Rule Response, Pulumi. Azure Native. Network. Outputs. Firewall Policy Nat Rule Response>> - Group of Firewall Policy rules.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - The provisioning state of the firewall policy rule group resource.
- Type string
- Rule Group type.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Priority int
- Priority of the Firewall Policy Rule Group resource.
- Rules []interface{}
- Group of Firewall Policy rules.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the firewall policy rule group resource.
- type String
- Rule Group type.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority Integer
- Priority of the Firewall Policy Rule Group resource.
- rules
List<Either<Firewall
Policy Filter Rule Response,Firewall Policy Nat Rule Response>> - Group of Firewall Policy rules.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State string - The provisioning state of the firewall policy rule group resource.
- type string
- Rule Group type.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority number
- Priority of the Firewall Policy Rule Group resource.
- rules
(Firewall
Policy Filter Rule Response | Firewall Policy Nat Rule Response)[] - Group of Firewall Policy rules.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_
state str - The provisioning state of the firewall policy rule group resource.
- type str
- Rule Group type.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority int
- Priority of the Firewall Policy Rule Group resource.
- rules Sequence[Any]
- Group of Firewall Policy rules.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the firewall policy rule group resource.
- type String
- Rule Group type.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority Number
- Priority of the Firewall Policy Rule Group resource.
- rules List<Property Map | Property Map>
- Group of Firewall Policy rules.
Supporting Types
ApplicationRuleConditionResponse
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- List<string>
- List of FQDN Tags for this rule condition.
- Name string
- Name of the rule condition.
- Protocols
List<Pulumi.
Azure Native. Network. Inputs. Firewall Policy Rule Condition Application Protocol Response> - Array of Application Protocols.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Target
Fqdns List<string> - List of FQDNs for this rule condition.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- []string
- List of FQDN Tags for this rule condition.
- Name string
- Name of the rule condition.
- Protocols
[]Firewall
Policy Rule Condition Application Protocol Response - Array of Application Protocols.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- Target
Fqdns []string - List of FQDNs for this rule condition.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- List<String>
- List of FQDN Tags for this rule condition.
- name String
- Name of the rule condition.
- protocols
List<Firewall
Policy Rule Condition Application Protocol Response> - Array of Application Protocols.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- target
Fqdns List<String> - List of FQDNs for this rule condition.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- string[]
- List of FQDN Tags for this rule condition.
- name string
- Name of the rule condition.
- protocols
Firewall
Policy Rule Condition Application Protocol Response[] - Array of Application Protocols.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- target
Fqdns string[] - List of FQDNs for this rule condition.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- Sequence[str]
- List of FQDN Tags for this rule condition.
- name str
- Name of the rule condition.
- protocols
Sequence[Firewall
Policy Rule Condition Application Protocol Response] - Array of Application Protocols.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- target_
fqdns Sequence[str] - List of FQDNs for this rule condition.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- List<String>
- List of FQDN Tags for this rule condition.
- name String
- Name of the rule condition.
- protocols List<Property Map>
- Array of Application Protocols.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- target
Fqdns List<String> - List of FQDNs for this rule condition.
FirewallPolicyFilterRuleActionResponse
- Type string
- The type of action.
- Type string
- The type of action.
- type String
- The type of action.
- type string
- The type of action.
- type str
- The type of action.
- type String
- The type of action.
FirewallPolicyFilterRuleResponse
- Action
Pulumi.
Azure Native. Network. Inputs. Firewall Policy Filter Rule Action Response - The action type of a Filter rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Conditions List<object> - Collection of rule conditions used by a rule.
- Action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Conditions []interface{} - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- name String
- The name of the rule.
- priority Integer
- Priority of the Firewall Policy Rule resource.
- rule
Conditions List<Object> - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- name string
- The name of the rule.
- priority number
- Priority of the Firewall Policy Rule resource.
- rule
Conditions (ApplicationRule Condition Response | Nat Rule Condition Response | Network Rule Condition Response)[] - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- name str
- The name of the rule.
- priority int
- Priority of the Firewall Policy Rule resource.
- rule_
conditions Sequence[Union[ApplicationRule Condition Response, Nat Rule Condition Response, Network Rule Condition Response]] - Collection of rule conditions used by a rule.
- action Property Map
- The action type of a Filter rule.
- name String
- The name of the rule.
- priority Number
- Priority of the Firewall Policy Rule resource.
- rule
Conditions List<Property Map | Property Map | Property Map> - Collection of rule conditions used by a rule.
FirewallPolicyNatRuleActionResponse
- Type string
- The type of action.
- Type string
- The type of action.
- type String
- The type of action.
- type string
- The type of action.
- type str
- The type of action.
- type String
- The type of action.
FirewallPolicyNatRuleResponse
- Action
Pulumi.
Azure Native. Network. Inputs. Firewall Policy Nat Rule Action Response - The action type of a Nat rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Condition Pulumi.Azure | Pulumi.Native. Network. Inputs. Application Rule Condition Response Azure | Pulumi.Native. Network. Inputs. Nat Rule Condition Response Azure Native. Network. Inputs. Network Rule Condition Response - The match conditions for incoming traffic.
- Translated
Address string - The translated address for this NAT rule.
- Translated
Port string - The translated port for this NAT rule.
- Action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- Translated
Address string - The translated address for this NAT rule.
- Translated
Port string - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- name String
- The name of the rule.
- priority Integer
- Priority of the Firewall Policy Rule resource.
- rule
Condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- translated
Address String - The translated address for this NAT rule.
- translated
Port String - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- name string
- The name of the rule.
- priority number
- Priority of the Firewall Policy Rule resource.
- rule
Condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- translated
Address string - The translated address for this NAT rule.
- translated
Port string - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- name str
- The name of the rule.
- priority int
- Priority of the Firewall Policy Rule resource.
- rule_
condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- translated_
address str - The translated address for this NAT rule.
- translated_
port str - The translated port for this NAT rule.
- action Property Map
- The action type of a Nat rule.
- name String
- The name of the rule.
- priority Number
- Priority of the Firewall Policy Rule resource.
- rule
Condition Property Map | Property Map | Property Map - The match conditions for incoming traffic.
- translated
Address String - The translated address for this NAT rule.
- translated
Port String - The translated port for this NAT rule.
FirewallPolicyRuleConditionApplicationProtocolResponse
- Port int
- Port number for the protocol, cannot be greater than 64000.
- Protocol
Type string - Protocol type.
- Port int
- Port number for the protocol, cannot be greater than 64000.
- Protocol
Type string - Protocol type.
- port Integer
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type String - Protocol type.
- port number
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type string - Protocol type.
- port int
- Port number for the protocol, cannot be greater than 64000.
- protocol_
type str - Protocol type.
- port Number
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type String - Protocol type.
NatRuleConditionResponse
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- Destination
Ports List<string> - List of destination ports.
- Ip
Protocols List<string> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- Destination
Ports []string - List of destination ports.
- Ip
Protocols []string - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- destination
Ports string[] - List of destination ports.
- ip
Protocols string[] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name string
- Name of the rule condition.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- destination_
ports Sequence[str] - List of destination ports.
- ip_
protocols Sequence[str] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name str
- Name of the rule condition.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
NetworkRuleConditionResponse
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- Destination
Ip List<string>Groups - List of destination IpGroups for this rule.
- Destination
Ports List<string> - List of destination ports.
- Ip
Protocols List<string> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- Destination
Ip []stringGroups - List of destination IpGroups for this rule.
- Destination
Ports []string - List of destination ports.
- Ip
Protocols []string - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ip List<String>Groups - List of destination IpGroups for this rule.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- destination
Ip string[]Groups - List of destination IpGroups for this rule.
- destination
Ports string[] - List of destination ports.
- ip
Protocols string[] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name string
- Name of the rule condition.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- destination_
ip_ Sequence[str]groups - List of destination IpGroups for this rule.
- destination_
ports Sequence[str] - List of destination ports.
- ip_
protocols Sequence[str] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name str
- Name of the rule condition.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ip List<String>Groups - List of destination IpGroups for this rule.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi