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/alpha.getNetworkFirewallPolicy
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 network firewall policy.
Using getNetworkFirewallPolicy
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 getNetworkFirewallPolicy(args: GetNetworkFirewallPolicyArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyResult>
function getNetworkFirewallPolicyOutput(args: GetNetworkFirewallPolicyOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyResult>
def get_network_firewall_policy(firewall_policy: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyResult
def get_network_firewall_policy_output(firewall_policy: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyResult]
func LookupNetworkFirewallPolicy(ctx *Context, args *LookupNetworkFirewallPolicyArgs, opts ...InvokeOption) (*LookupNetworkFirewallPolicyResult, error)
func LookupNetworkFirewallPolicyOutput(ctx *Context, args *LookupNetworkFirewallPolicyOutputArgs, opts ...InvokeOption) LookupNetworkFirewallPolicyResultOutput
> Note: This function is named LookupNetworkFirewallPolicy
in the Go SDK.
public static class GetNetworkFirewallPolicy
{
public static Task<GetNetworkFirewallPolicyResult> InvokeAsync(GetNetworkFirewallPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkFirewallPolicyResult> Invoke(GetNetworkFirewallPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkFirewallPolicyResult> getNetworkFirewallPolicy(GetNetworkFirewallPolicyArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyResult> getNetworkFirewallPolicy(GetNetworkFirewallPolicyArgs args, InvokeOptions options)
fn::invoke:
function: google-native:compute/alpha:getNetworkFirewallPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Firewall
Policy This property is required. string - Project string
- Firewall
Policy This property is required. string - Project string
- firewall
Policy This property is required. String - project String
- firewall
Policy This property is required. string - project string
- firewall_
policy This property is required. str - project str
- firewall
Policy This property is required. String - project String
getNetworkFirewallPolicy Result
The following output properties are available:
- Associations
List<Pulumi.
Google Native. Compute. Alpha. Outputs. Firewall Policy Association Response> - A list of associations that belong to this firewall policy.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Display
Name 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.
- Rule
Tuple 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. Alpha. 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.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Short
Name 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. - Vpc
Network stringScope - The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used.
- Associations
[]Firewall
Policy Association Response - A list of associations that belong to this firewall policy.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Display
Name 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.
- Rule
Tuple intCount - Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- Rules
[]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.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Short
Name 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. - Vpc
Network stringScope - The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used.
- associations
List<Firewall
Policy Association Response> - A list of associations that belong to this firewall policy.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- display
Name 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.
- rule
Tuple IntegerCount - Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- rules
List<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.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- short
Name 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. - vpc
Network StringScope - The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used.
- associations
Firewall
Policy Association Response[] - A list of associations that belong to this firewall policy.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- display
Name 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.
- rule
Tuple numberCount - Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
- rules
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.
- self
Link string - Server-defined URL for the resource.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- short
Name 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. - vpc
Network stringScope - The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used.
- associations
Sequence[Firewall
Policy 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[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.
- 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. - vpc_
network_ strscope - The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used.
- associations List<Property Map>
- A list of associations that belong to this firewall policy.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- display
Name 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.
- rule
Tuple 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.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- short
Name 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. - vpc
Network StringScope - The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used.
Supporting Types
FirewallPolicyAssociationResponse
- Attachment
Target This property is required. string - The target that the firewall policy is attached to.
- Display
Name This property is required. string - Deprecated, please use short name instead. The display name of the firewall policy of the association.
- Firewall
Policy Id This property is required. string - The firewall policy ID of the association.
- Name
This property is required. string - The name for an association.
- Priority
This property is required. int - An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is
1000
. If two associations have the same priority then lexicographical order on association names is applied. - Short
Name This property is required. string - The short name of the firewall policy of the association.
- Attachment
Target This property is required. string - The target that the firewall policy is attached to.
- Display
Name This property is required. string - Deprecated, please use short name instead. The display name of the firewall policy of the association.
- Firewall
Policy Id This property is required. string - The firewall policy ID of the association.
- Name
This property is required. string - The name for an association.
- Priority
This property is required. int - An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is
1000
. If two associations have the same priority then lexicographical order on association names is applied. - Short
Name This property is required. string - The short name of the firewall policy of the association.
- attachment
Target This property is required. String - The target that the firewall policy is attached to.
- display
Name This property is required. String - Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewall
Policy Id This property is required. String - The firewall policy ID of the association.
- name
This property is required. String - The name for an association.
- priority
This property is required. Integer - An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is
1000
. If two associations have the same priority then lexicographical order on association names is applied. - short
Name This property is required. String - The short name of the firewall policy of the association.
- attachment
Target This property is required. string - The target that the firewall policy is attached to.
- display
Name This property is required. string - Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewall
Policy Id This property is required. string - The firewall policy ID of the association.
- name
This property is required. string - The name for an association.
- priority
This property is required. number - An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is
1000
. If two associations have the same priority then lexicographical order on association names is applied. - short
Name This property is required. string - The short name of the firewall policy of the association.
- attachment_
target This property is required. str - The target that the firewall policy is attached to.
- display_
name This property is required. str - Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewall_
policy_ id This property is required. str - The firewall policy ID of the association.
- name
This property is required. str - The name for an association.
- priority
This property is required. int - An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is
1000
. If two associations have the same priority then lexicographical order on association names is applied. - short_
name This property is required. str - The short name of the firewall policy of the association.
- attachment
Target This property is required. String - The target that the firewall policy is attached to.
- display
Name This property is required. String - Deprecated, please use short name instead. The display name of the firewall policy of the association.
- firewall
Policy Id This property is required. String - The firewall policy ID of the association.
- name
This property is required. String - The name for an association.
- priority
This property is required. Number - An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is
1000
. If two associations have the same priority then lexicographical order on association names is applied. - short
Name This property is required. String - The short name of the firewall policy of the association.
FirewallPolicyRuleMatcherLayer4ConfigResponse
- Ip
Protocol This property is required. 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
This property is required. 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"].
- Ip
Protocol This property is required. 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
This property is required. []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 This property is required. 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
This property is required. 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"].
- ip
Protocol This property is required. 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
This property is required. 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 This property is required. 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
This property is required. 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"].
- ip
Protocol This property is required. 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
This property is required. 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
- Dest
Address Groups This property is required. List<string> - Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- Dest
Fqdns This property is required. List<string> - Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- Dest
Ip Ranges This property is required. List<string> - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- Dest
Region Codes This property is required. List<string> - 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 Intelligences This property is required. List<string> - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- Layer4Configs
This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Firewall Policy Rule Matcher Layer4Config Response> - Pairs of IP protocols and ports that the rule should match.
- Src
Address Groups This property is required. List<string> - Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- Src
Fqdns This property is required. List<string> - Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- Src
Ip Ranges This property is required. List<string> - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- Src
Region Codes This property is required. List<string> - 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.
This property is required. List<Pulumi.Google Native. Compute. Alpha. 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.
- Src
Threat Intelligences This property is required. List<string> - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- Dest
Address Groups This property is required. []string - Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- Dest
Fqdns This property is required. []string - Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- Dest
Ip Ranges This property is required. []string - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- Dest
Region Codes This property is required. []string - 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 Intelligences This property is required. []string - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- Layer4Configs
This property is required. []FirewallPolicy Rule Matcher Layer4Config Response - Pairs of IP protocols and ports that the rule should match.
- Src
Address Groups This property is required. []string - Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- Src
Fqdns This property is required. []string - Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- Src
Ip Ranges This property is required. []string - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- Src
Region Codes This property is required. []string - 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.
This property is required. []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 Intelligences This property is required. []string - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- dest
Address Groups This property is required. List<String> - Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- dest
Fqdns This property is required. List<String> - Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- dest
Ip Ranges This property is required. List<String> - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- dest
Region Codes This property is required. List<String> - 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 Intelligences This property is required. List<String> - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4Configs
This property is required. List<FirewallPolicy Rule Matcher Layer4Config Response> - Pairs of IP protocols and ports that the rule should match.
- src
Address Groups This property is required. List<String> - Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- src
Fqdns This property is required. List<String> - Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- src
Ip Ranges This property is required. List<String> - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- src
Region Codes This property is required. List<String> - 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.
This property is required. 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.
- src
Threat Intelligences This property is required. List<String> - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- dest
Address Groups This property is required. string[] - Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- dest
Fqdns This property is required. string[] - Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- dest
Ip Ranges This property is required. string[] - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- dest
Region Codes This property is required. string[] - 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 Intelligences This property is required. string[] - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4Configs
This property is required. FirewallPolicy Rule Matcher Layer4Config Response[] - Pairs of IP protocols and ports that the rule should match.
- src
Address Groups This property is required. string[] - Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- src
Fqdns This property is required. string[] - Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- src
Ip Ranges This property is required. string[] - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- src
Region Codes This property is required. string[] - 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.
This property is required. 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 Intelligences This property is required. string[] - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- dest_
address_ groups This property is required. Sequence[str] - Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- dest_
fqdns This property is required. Sequence[str] - Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- dest_
ip_ ranges This property is required. Sequence[str] - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- dest_
region_ codes This property is required. Sequence[str] - 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_ intelligences This property is required. Sequence[str] - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4_
configs This property is required. Sequence[FirewallPolicy Rule Matcher Layer4Config Response] - Pairs of IP protocols and ports that the rule should match.
- src_
address_ groups This property is required. Sequence[str] - Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- src_
fqdns This property is required. Sequence[str] - Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- src_
ip_ ranges This property is required. Sequence[str] - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- src_
region_ codes This property is required. Sequence[str] - 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.
This property is required. 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_ intelligences This property is required. Sequence[str] - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
- dest
Address Groups This property is required. List<String> - Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
- dest
Fqdns This property is required. List<String> - Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
- dest
Ip Ranges This property is required. List<String> - CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- dest
Region Codes This property is required. List<String> - 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 Intelligences This property is required. List<String> - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
- layer4Configs
This property is required. List<Property Map> - Pairs of IP protocols and ports that the rule should match.
- src
Address Groups This property is required. List<String> - Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
- src
Fqdns This property is required. List<String> - Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
- src
Ip Ranges This property is required. List<String> - CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- src
Region Codes This property is required. List<String> - 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.
This property is required. 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.
- src
Threat Intelligences This property is required. List<String> - Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
FirewallPolicyRuleResponse
- Action
This property is required. string - The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- Description
This property is required. string - An optional description for this resource.
- Direction
This property is required. string - The direction in which this rule applies.
- Disabled
This property is required. 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 This property is required. 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
This property is required. string - [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- Match
This property is required. Pulumi.Google Native. Compute. Alpha. 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
This property is required. 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 This property is required. string - An optional name for the rule. This field is not a unique identifier and can be updated.
- Rule
Tuple Count This property is required. int - Calculation of the complexity of a single firewall policy rule.
- Security
Profile Group This property is required. string - A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
- Target
Resources This property is required. 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.
This property is required. List<Pulumi.Google Native. Compute. Alpha. 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.
- Target
Service Accounts This property is required. List<string> - A list of service accounts indicating the sets of instances that are applied with this rule.
- Tls
Inspect This property is required. bool - Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
- Action
This property is required. string - The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- Description
This property is required. string - An optional description for this resource.
- Direction
This property is required. string - The direction in which this rule applies.
- Disabled
This property is required. 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 This property is required. 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
This property is required. string - [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- Match
This property is required. FirewallPolicy Rule Matcher Response - A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- Priority
This property is required. 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 This property is required. string - An optional name for the rule. This field is not a unique identifier and can be updated.
- Rule
Tuple Count This property is required. int - Calculation of the complexity of a single firewall policy rule.
- Security
Profile Group This property is required. string - A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
- Target
Resources This property is required. []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.
This property is required. []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 Accounts This property is required. []string - A list of service accounts indicating the sets of instances that are applied with this rule.
- Tls
Inspect This property is required. bool - Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
- action
This property is required. String - The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description
This property is required. String - An optional description for this resource.
- direction
This property is required. String - The direction in which this rule applies.
- disabled
This property is required. 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.
- enable
Logging This property is required. 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
This property is required. String - [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
This property is required. FirewallPolicy Rule Matcher Response - A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority
This property is required. 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.
- rule
Name This property is required. String - An optional name for the rule. This field is not a unique identifier and can be updated.
- rule
Tuple Count This property is required. Integer - Calculation of the complexity of a single firewall policy rule.
- security
Profile Group This property is required. String - A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
- target
Resources This property is required. 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.
This property is required. 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.
- target
Service Accounts This property is required. List<String> - A list of service accounts indicating the sets of instances that are applied with this rule.
- tls
Inspect This property is required. Boolean - Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
- action
This property is required. string - The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description
This property is required. string - An optional description for this resource.
- direction
This property is required. string - The direction in which this rule applies.
- disabled
This property is required. 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.
- enable
Logging This property is required. 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
This property is required. string - [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
This property is required. FirewallPolicy Rule Matcher Response - A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority
This property is required. 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.
- rule
Name This property is required. string - An optional name for the rule. This field is not a unique identifier and can be updated.
- rule
Tuple Count This property is required. number - Calculation of the complexity of a single firewall policy rule.
- security
Profile Group This property is required. string - A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
- target
Resources This property is required. 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.
This property is required. 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 Accounts This property is required. string[] - A list of service accounts indicating the sets of instances that are applied with this rule.
- tls
Inspect This property is required. boolean - Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
- action
This property is required. str - The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description
This property is required. str - An optional description for this resource.
- direction
This property is required. str - The direction in which this rule applies.
- disabled
This property is required. 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 This property is required. 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
This property is required. str - [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
This property is required. FirewallPolicy Rule Matcher Response - A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority
This property is required. 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 This property is required. str - An optional name for the rule. This field is not a unique identifier and can be updated.
- rule_
tuple_ count This property is required. int - Calculation of the complexity of a single firewall policy rule.
- security_
profile_ group This property is required. str - A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
- target_
resources This property is required. 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.
This property is required. 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_ accounts This property is required. Sequence[str] - A list of service accounts indicating the sets of instances that are applied with this rule.
- tls_
inspect This property is required. bool - Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
- action
This property is required. String - The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
- description
This property is required. String - An optional description for this resource.
- direction
This property is required. String - The direction in which this rule applies.
- disabled
This property is required. 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.
- enable
Logging This property is required. 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
This property is required. String - [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules
- match
This property is required. Property Map - A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- priority
This property is required. 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.
- rule
Name This property is required. String - An optional name for the rule. This field is not a unique identifier and can be updated.
- rule
Tuple Count This property is required. Number - Calculation of the complexity of a single firewall policy rule.
- security
Profile Group This property is required. String - A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
- target
Resources This property is required. 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.
This property is required. 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.
- target
Service Accounts This property is required. List<String> - A list of service accounts indicating the sets of instances that are applied with this rule.
- tls
Inspect This property is required. Boolean - Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
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