SecurityPolicyState class

Input properties used for looking up and filtering SecurityPolicy resources.

Constructors

SecurityPolicyState({Input<SecurityPolicyAdaptiveProtectionConfig?>? adaptiveProtectionConfig, Input<SecurityPolicyAdvancedOptionsConfig?>? advancedOptionsConfig, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<String?>? fingerprint, Input<String?>? labelFingerprint, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<SecurityPolicyRecaptchaOptionsConfig?>? recaptchaOptionsConfig, Input<List<SecurityPolicyRule>?>? rules, Input<String?>? selfLink, Input<String?>? type})
Creates a new SecurityPolicyState. adaptiveProtectionConfig Configuration for Google Cloud Armor Adaptive Protection. Structure is documented below. advancedOptionsConfig Advanced Configuration Options. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description An optional description of this security policy. Max size is 2048. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. fingerprint Fingerprint of this resource. labelFingerprint The unique fingerprint of the labels. labels Labels to apply to this address. A list of key->value pairs. name The name of the security policy. project The project in which the resource belongs. If it pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider. recaptchaOptionsConfig reCAPTCHA Configuration Options. Structure is documented below. rules The set of rules that belong to this policy. There must always be a default selfLink The URI of the created resource. type The type indicates the intended use of the security policy. This field can be set only at resource creation time.
const
SecurityPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

adaptiveProtectionConfig → Input<SecurityPolicyAdaptiveProtectionConfig?>?
Configuration for Google Cloud Armor Adaptive Protection. Structure is documented below.
final
advancedOptionsConfig → Input<SecurityPolicyAdvancedOptionsConfig?>?
Advanced Configuration Options. 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 security policy. Max size is 2048.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
fingerprint → Input<String?>?
Fingerprint of this resource.
final
hashCode → int
The hash code for this object.
no setterinherited
labelFingerprint → Input<String?>?
The unique fingerprint of the labels.
final
labels → Input<Map<String, String>?>?
Labels to apply to this address. A list of key->value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
name → Input<String?>?
The name of the security policy.
final
project → Input<String?>?
The project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
recaptchaOptionsConfig → Input<SecurityPolicyRecaptchaOptionsConfig?>?
reCAPTCHA Configuration Options. Structure is documented below.
final
rules → Input<List<SecurityPolicyRule>?>?
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
The URI of the created resource.
final
type → Input<String?>?
The type indicates the intended use of the security policy. This field can be set only at resource creation time.
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