TagKeyArgs class
The set of arguments for TagKey. The set of arguments for TagKey.
Constructors
-
TagKeyArgs({Input<
String?> ? allowedValuesRegex, Input<String?> ? deletionPolicy, Input<String?> ? description, required Input<String> parent, Input<String?> ? purpose, Input<Map< ? purposeData, required Input<String, String> ?>String> shortName}) -
Creates a new TagKeyArgs.
allowedValuesRegexRegular expression constraint for dynamic tag values, follows RE2 syntax. If present, it implicitly allows dynamic values (constrained by the regex).deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-assigned description of the TagKey. Must not exceed 256 characters.parentInput only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.purposeOptional. A purpose cannot be changed once set.purposeDataOptional. Purpose data cannot be changed once set.shortNameInput only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.const -
TagKeyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowedValuesRegex
→ Input<
String?> ? -
Regular expression constraint for dynamic tag values, follows RE2 syntax. If present, it implicitly allows dynamic values (constrained by the regex).
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?> ? -
User-assigned description of the TagKey. Must not exceed 256 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parent
→ Input<
String> -
Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
final
-
purpose
→ Input<
String?> ? -
Optional. A purpose cannot be changed once set.
A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
Possible values are:
GCE_FIREWALL,DATA_GOVERNANCE.final -
purposeData
→ Input<
Map< ?String, String> ?> -
Optional. Purpose data cannot be changed once set.
Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format:
network = "<project-name>/<vpc-name>".final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortName
→ Input<
String> -
Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
The short name can have a maximum length of 256 characters. The permitted character set for the shortName includes all UTF-8 encoded Unicode characters except single quotes ('), double quotes ("), backslashes (\), and forward slashes (/).
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