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< ? effectiveLabels, Input<String, String> ?>String?> ? fingerprint, Input<String?> ? labelFingerprint, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>SecurityPolicyRecaptchaOptionsConfig?> ? recaptchaOptionsConfig, Input<List< ? rules, Input<SecurityPolicyRule> ?>String?> ? selfLink, Input<String?> ? type}) -
Creates a new SecurityPolicyState.
adaptiveProtectionConfigConfiguration for Google Cloud Armor Adaptive Protection. Structure is documented below. advancedOptionsConfig Advanced Configuration Options.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionAn optional description of this security policy. Max size is 2048.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.fingerprintFingerprint of this resource.labelFingerprintThe unique fingerprint of the labels.labelsLabels to apply to this address. A list of key->value pairs.nameThe name of the security policy.projectThe project in which the resource belongs. If itpulumiLabelsThe combination of labels configured directly on the resource and default labels configured on the provider. recaptchaOptionsConfig reCAPTCHA Configuration Options. Structure is documented below.rulesThe set of rules that belong to this policy. There must always be a defaultselfLinkThe URI of the created resource.typeThe 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
effectiveLabelsfor 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
-
selfLink
→ Input<
String?> ? -
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