RegionSecurityPolicyState class

Input properties used for looking up and filtering RegionSecurityPolicy resources.

Constructors

RegionSecurityPolicyState({Input<RegionSecurityPolicyAdvancedOptionsConfig?>? advancedOptionsConfig, Input<RegionSecurityPolicyDdosProtectionConfig?>? ddosProtectionConfig, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? fingerprint, Input<String?>? name, Input<String?>? policyId, Input<String?>? project, Input<String?>? region, Input<List<RegionSecurityPolicyRule>?>? rules, Input<String?>? selfLink, Input<String?>? selfLinkWithPolicyId, Input<String?>? type, Input<List<RegionSecurityPolicyUserDefinedField>?>? userDefinedFields})
Creates a new RegionSecurityPolicyState. advancedOptionsConfig Advanced Options Config of this security policy. ddosProtectionConfig Configuration for Google Cloud Armor DDOS Proctection Config. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. Provide this property when you create the resource. fingerprint Fingerprint of this resource. This field is used internally during name Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. policyId The unique identifier for the resource. This identifier is defined by the server. project The ID of the project in which the resource belongs. region The Region in which the created Region Security Policy should reside. rules The set 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 security policy, a default rule with action "allow" will be added. selfLink Server-defined URL for the resource. selfLinkWithPolicyId Server-defined URL for this resource with the resource id. type The type indicates the intended use of the security policy. userDefinedFields Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
const
RegionSecurityPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

advancedOptionsConfig → Input<RegionSecurityPolicyAdvancedOptionsConfig?>?
Advanced Options Config of this security policy. Structure is documented below.
final
ddosProtectionConfig → Input<RegionSecurityPolicyDdosProtectionConfig?>?
Configuration for Google Cloud Armor DDOS Proctection Config. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional description of this resource. Provide this property when you create the resource.
final
fingerprint → Input<String?>?
Fingerprint of this resource. This field is used internally during updates of this resource.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the resource. Provided by the client when the resource is created. 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? 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.
final
policyId → Input<String?>?
The unique identifier for the resource. This identifier is defined by the server.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
region → Input<String?>?
The Region in which the created Region Security Policy should reside. If it is not provided, the provider region is used.
final
rules → Input<List<RegionSecurityPolicyRule>?>?
The set 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 security policy, a default rule with action "allow" will be added. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Server-defined URL for the resource.
final
selfLinkWithPolicyId → Input<String?>?
Server-defined URL for this resource with the resource id.
final
type → Input<String?>?
The type indicates the intended use of the security policy.
final
userDefinedFields → Input<List<RegionSecurityPolicyUserDefinedField>?>?
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited