Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/v1.getFirewallPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns the specified firewall policy.
Using getFirewallPolicy
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 getFirewallPolicy(args: GetFirewallPolicyArgs, opts?: InvokeOptions): Promise<GetFirewallPolicyResult>
function getFirewallPolicyOutput(args: GetFirewallPolicyOutputArgs, opts?: InvokeOptions): Output<GetFirewallPolicyResult>def get_firewall_policy(firewall_policy: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetFirewallPolicyResult
def get_firewall_policy_output(firewall_policy: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetFirewallPolicyResult]func LookupFirewallPolicy(ctx *Context, args *LookupFirewallPolicyArgs, opts ...InvokeOption) (*LookupFirewallPolicyResult, error)
func LookupFirewallPolicyOutput(ctx *Context, args *LookupFirewallPolicyOutputArgs, opts ...InvokeOption) LookupFirewallPolicyResultOutput> Note: This function is named LookupFirewallPolicy in the Go SDK.
public static class GetFirewallPolicy 
{
    public static Task<GetFirewallPolicyResult> InvokeAsync(GetFirewallPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetFirewallPolicyResult> Invoke(GetFirewallPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFirewallPolicyResult> getFirewallPolicy(GetFirewallPolicyArgs args, InvokeOptions options)
public static Output<GetFirewallPolicyResult> getFirewallPolicy(GetFirewallPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/v1:getFirewallPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FirewallPolicy string
- FirewallPolicy string
- firewallPolicy String
- firewallPolicy string
- firewall_policy str
- firewallPolicy String
getFirewallPolicy Result
The following output properties are available:
- Associations
List<Pulumi.Google Native. Compute. V1. Outputs. Firewall Policy Association Response> 
- A list of associations that belong to this firewall policy.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DisplayName string
- Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Fingerprint string
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
- Kind string
- [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
- Name string
- Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
- Parent string
- The parent of the firewall policy. This field is not applicable to network firewall policies.
- Region string
- URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- RuleTuple intCount 
- Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- Rules
List<Pulumi.Google Native. Compute. V1. Outputs. Firewall Policy Rule Response> 
- A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
- SelfLink string
- Server-defined URL for the resource.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- ShortName string
- User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Associations
[]FirewallPolicy Association Response 
- A list of associations that belong to this firewall policy.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DisplayName string
- Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Fingerprint string
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
- Kind string
- [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
- Name string
- Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
- Parent string
- The parent of the firewall policy. This field is not applicable to network firewall policies.
- Region string
- URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- RuleTuple intCount 
- Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- Rules
[]FirewallPolicy Rule Response 
- A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
- SelfLink string
- Server-defined URL for the resource.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- ShortName string
- User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- associations
List<FirewallPolicy Association Response> 
- A list of associations that belong to this firewall policy.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- displayName String
- Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint String
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
- kind String
- [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
- name String
- Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
- parent String
- The parent of the firewall policy. This field is not applicable to network firewall policies.
- region String
- URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- ruleTuple IntegerCount 
- Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- rules
List<FirewallPolicy Rule Response> 
- A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
- selfLink String
- Server-defined URL for the resource.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- shortName String
- User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- associations
FirewallPolicy Association Response[] 
- A list of associations that belong to this firewall policy.
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- displayName string
- Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint string
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
- kind string
- [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
- name string
- Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
- parent string
- The parent of the firewall policy. This field is not applicable to network firewall policies.
- region string
- URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- ruleTuple numberCount 
- Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- rules
FirewallPolicy Rule Response[] 
- A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
- selfLink string
- Server-defined URL for the resource.
- selfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- shortName string
- User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- associations
Sequence[FirewallPolicy Association Response] 
- A list of associations that belong to this firewall policy.
- creation_timestamp str
- Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- display_name str
- Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint str
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
- kind str
- [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
- name str
- Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
- parent str
- The parent of the firewall policy. This field is not applicable to network firewall policies.
- region str
- URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- rule_tuple_ intcount 
- Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- rules
Sequence[FirewallPolicy Rule Response] 
- A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
- self_link str
- Server-defined URL for the resource.
- self_link_ strwith_ id 
- Server-defined URL for this resource with the resource id.
- short_name str
- User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- associations List<Property Map>
- A list of associations that belong to this firewall policy.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- displayName String
- Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint String
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
- kind String
- [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
- name String
- Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
- parent String
- The parent of the firewall policy. This field is not applicable to network firewall policies.
- region String
- URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- ruleTuple NumberCount 
- Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- rules List<Property Map>
- A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
- selfLink String
- Server-defined URL for the resource.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- shortName String
- User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Supporting Types
FirewallPolicyAssociationResponse   
- AttachmentTarget string
- The target that the firewall policy is attached to.
- DisplayName string
- Deprecated, please use short name instead. The display name of the firewall policy of the association.
- FirewallPolicy stringId 
- The firewall policy ID of the association.
- Name string
- The name for an association.
- ShortName string
- The short name of the firewall policy of the association.
- AttachmentTarget string
- The target that the firewall policy is attached to.
- DisplayName string
- Deprecated, please use short name instead. The display name of the firewall policy of the association.
- FirewallPolicy stringId 
- The firewall policy ID of the association.
- Name string
- The name for an association.
- ShortName string
- The short name of the firewall policy of the association.
- attachmentTarget String
- The target that the firewall policy is attached to.
- displayName String
- Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewallPolicy StringId 
- The firewall policy ID of the association.
- name String
- The name for an association.
- shortName String
- The short name of the firewall policy of the association.
- attachmentTarget string
- The target that the firewall policy is attached to.
- displayName string
- Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewallPolicy stringId 
- The firewall policy ID of the association.
- name string
- The name for an association.
- shortName string
- The short name of the firewall policy of the association.
- attachment_target str
- The target that the firewall policy is attached to.
- display_name str
- Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewall_policy_ strid 
- The firewall policy ID of the association.
- name str
- The name for an association.
- short_name str
- The short name of the firewall policy of the association.
- attachmentTarget String
- The target that the firewall policy is attached to.
- displayName String
- Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewallPolicy StringId 
- The firewall policy ID of the association.
- name String
- The name for an association.
- shortName String
- The short name of the firewall policy of the association.
FirewallPolicyRuleMatcherLayer4ConfigResponse     
- IpProtocol string
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- Ports List<string>
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
- IpProtocol string
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- Ports []string
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
- ipProtocol String
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports List<String>
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
- ipProtocol string
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports string[]
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
- ip_protocol str
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports Sequence[str]
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
- ipProtocol String
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports List<String>
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
FirewallPolicyRuleMatcherResponse    
- DestAddress List<string>Groups 
- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- DestFqdns List<string>
- Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- DestIp List<string>Ranges 
- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- DestRegion List<string>Codes 
- Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
- DestThreat List<string>Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- Layer4Configs
List<Pulumi.Google Native. Compute. V1. Inputs. Firewall Policy Rule Matcher Layer4Config Response> 
- Pairs of IP protocols and ports that the rule should match.
- SrcAddress List<string>Groups 
- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- SrcFqdns List<string>
- Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- SrcIp List<string>Ranges 
- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- SrcRegion List<string>Codes 
- Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
- 
List<Pulumi.Google Native. Compute. V1. Inputs. Firewall Policy Rule Secure Tag Response> 
- List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
- SrcThreat List<string>Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- DestAddress []stringGroups 
- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- DestFqdns []string
- Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- DestIp []stringRanges 
- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- DestRegion []stringCodes 
- Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
- DestThreat []stringIntelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- Layer4Configs
[]FirewallPolicy Rule Matcher Layer4Config Response 
- Pairs of IP protocols and ports that the rule should match.
- SrcAddress []stringGroups 
- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- SrcFqdns []string
- Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- SrcIp []stringRanges 
- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- SrcRegion []stringCodes 
- Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
- 
[]FirewallPolicy Rule Secure Tag Response 
- List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
- SrcThreat []stringIntelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- destAddress List<String>Groups 
- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- destFqdns List<String>
- Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- destIp List<String>Ranges 
- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- destRegion List<String>Codes 
- Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
- destThreat List<String>Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4Configs
List<FirewallPolicy Rule Matcher Layer4Config Response> 
- Pairs of IP protocols and ports that the rule should match.
- srcAddress List<String>Groups 
- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- srcFqdns List<String>
- Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- srcIp List<String>Ranges 
- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- srcRegion List<String>Codes 
- Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
- 
List<FirewallPolicy Rule Secure Tag Response> 
- List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
- srcThreat List<String>Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- destAddress string[]Groups 
- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- destFqdns string[]
- Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- destIp string[]Ranges 
- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- destRegion string[]Codes 
- Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
- destThreat string[]Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4Configs
FirewallPolicy Rule Matcher Layer4Config Response[] 
- Pairs of IP protocols and ports that the rule should match.
- srcAddress string[]Groups 
- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- srcFqdns string[]
- Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- srcIp string[]Ranges 
- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- srcRegion string[]Codes 
- Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
- 
FirewallPolicy Rule Secure Tag Response[] 
- List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
- srcThreat string[]Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- dest_address_ Sequence[str]groups 
- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- dest_fqdns Sequence[str]
- Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- dest_ip_ Sequence[str]ranges 
- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- dest_region_ Sequence[str]codes 
- Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
- dest_threat_ Sequence[str]intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4_configs Sequence[FirewallPolicy Rule Matcher Layer4Config Response] 
- Pairs of IP protocols and ports that the rule should match.
- src_address_ Sequence[str]groups 
- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- src_fqdns Sequence[str]
- Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- src_ip_ Sequence[str]ranges 
- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- src_region_ Sequence[str]codes 
- Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
- 
Sequence[FirewallPolicy Rule Secure Tag Response] 
- List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
- src_threat_ Sequence[str]intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- destAddress List<String>Groups 
- Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- destFqdns List<String>
- Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- destIp List<String>Ranges 
- CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- destRegion List<String>Codes 
- Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
- destThreat List<String>Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4Configs List<Property Map>
- Pairs of IP protocols and ports that the rule should match.
- srcAddress List<String>Groups 
- Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- srcFqdns List<String>
- Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- srcIp List<String>Ranges 
- CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- srcRegion List<String>Codes 
- Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
- List<Property Map>
- List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
- srcThreat List<String>Intelligences 
- Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
FirewallPolicyRuleResponse   
- Action string
- The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- Description string
- An optional description for this resource.
- Direction string
- The direction in which this rule applies.
- Disabled bool
- Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
- EnableLogging bool
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
- Kind string
- [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- Match
Pulumi.Google Native. Compute. V1. Inputs. Firewall Policy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- Priority int
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
- RuleName string
- An optional name for the rule. This field is not a unique identifier and can be updated.
- RuleTuple intCount 
- Calculation of the complexity of a single firewall policy rule.
- TargetResources List<string>
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
- 
List<Pulumi.Google Native. Compute. V1. Inputs. Firewall Policy Rule Secure Tag Response> 
- A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
- TargetService List<string>Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- Action string
- The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- Description string
- An optional description for this resource.
- Direction string
- The direction in which this rule applies.
- Disabled bool
- Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
- EnableLogging bool
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
- Kind string
- [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- Match
FirewallPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- Priority int
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
- RuleName string
- An optional name for the rule. This field is not a unique identifier and can be updated.
- RuleTuple intCount 
- Calculation of the complexity of a single firewall policy rule.
- TargetResources []string
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
- 
[]FirewallPolicy Rule Secure Tag Response 
- A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
- TargetService []stringAccounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action String
- The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description String
- An optional description for this resource.
- direction String
- The direction in which this rule applies.
- disabled Boolean
- Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
- enableLogging Boolean
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
- kind String
- [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
FirewallPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority Integer
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
- ruleName String
- An optional name for the rule. This field is not a unique identifier and can be updated.
- ruleTuple IntegerCount 
- Calculation of the complexity of a single firewall policy rule.
- targetResources List<String>
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
- 
List<FirewallPolicy Rule Secure Tag Response> 
- A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
- targetService List<String>Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action string
- The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description string
- An optional description for this resource.
- direction string
- The direction in which this rule applies.
- disabled boolean
- Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
- enableLogging boolean
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
- kind string
- [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
FirewallPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority number
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
- ruleName string
- An optional name for the rule. This field is not a unique identifier and can be updated.
- ruleTuple numberCount 
- Calculation of the complexity of a single firewall policy rule.
- targetResources string[]
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
- 
FirewallPolicy Rule Secure Tag Response[] 
- A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
- targetService string[]Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action str
- The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description str
- An optional description for this resource.
- direction str
- The direction in which this rule applies.
- disabled bool
- Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
- enable_logging bool
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
- kind str
- [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
FirewallPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority int
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
- rule_name str
- An optional name for the rule. This field is not a unique identifier and can be updated.
- rule_tuple_ intcount 
- Calculation of the complexity of a single firewall policy rule.
- target_resources Sequence[str]
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
- 
Sequence[FirewallPolicy Rule Secure Tag Response] 
- A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
- target_service_ Sequence[str]accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action String
- The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description String
- An optional description for this resource.
- direction String
- The direction in which this rule applies.
- disabled Boolean
- Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
- enableLogging Boolean
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
- kind String
- [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match Property Map
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority Number
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
- ruleName String
- An optional name for the rule. This field is not a unique identifier and can be updated.
- ruleTuple NumberCount 
- Calculation of the complexity of a single firewall policy rule.
- targetResources List<String>
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
- List<Property Map>
- A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
- targetService List<String>Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
FirewallPolicyRuleSecureTagResponse     
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi