TargetArgs class
The set of arguments for Target. The set of arguments for Target.
Constructors
-
TargetArgs({Input<
Map< ? annotations, Input<String, String> ?>TargetAnthosCluster?> ? anthosCluster, Input<List< ? associatedEntities, Input<TargetAssociatedEntity> ?>TargetCustomTarget?> ? customTarget, Input<String?> ? deletionPolicy, Input<Map< ? deployParameters, Input<String, String> ?>String?> ? description, Input<List< ? executionConfigs, Input<TargetExecutionConfig> ?>TargetGke?> ? gke, Input<Map< ? labels, required Input<String, String> ?>String> location, Input<TargetMultiTarget?> ? multiTarget, Input<String?> ? name, Input<String?> ? project, Input<bool?> ? requireApproval, Input<TargetRun?> ? run}) -
Creates a new TargetArgs.
annotationsOptional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.anthosClusterInformation specifying an Anthos Cluster.associatedEntitiesOptional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^a-z?$.customTargetOptional. Information specifying a Custom Target.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".deployParametersOptional. The deploy parameters to use for this target.descriptionOptional. Description of theTarget. Max length is 255 characters.executionConfigsConfigurations for all execution that relates to thisTarget. EachExecutionEnvironmentUsagevalue may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include theRENDERandDEPLOYExecutionEnvironmentUsagevalues. When no configurations are specified, execution will use the default specified inDefaultPool.gkeInformation specifying a GKE Cluster.labelsOptional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.locationThe location for the resourcemultiTargetInformation specifying a multiTarget.nameName of theTarget. Format isa-z?.projectThe project for the resourcerequireApprovalOptional. Whether or not theTargetrequires approval.runInformation specifying a Cloud Run deployment target.const -
TargetArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
final
-
anthosCluster
→ Input<
TargetAnthosCluster?> ? -
Information specifying an Anthos Cluster.
final
-
associatedEntities
→ Input<
List< ?TargetAssociatedEntity> ?> -
Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:
^a-z?$.final -
customTarget
→ Input<
TargetCustomTarget?> ? -
Optional. Information specifying a Custom Target.
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
-
deployParameters
→ Input<
Map< ?String, String> ?> -
Optional. The deploy parameters to use for this target.
final
-
description
→ Input<
String?> ? -
Optional. Description of the
Target. Max length is 255 characters.final -
executionConfigs
→ Input<
List< ?TargetExecutionConfig> ?> -
Configurations for all execution that relates to this
Target. EachExecutionEnvironmentUsagevalue may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include theRENDERandDEPLOYExecutionEnvironmentUsagevalues. When no configurations are specified, execution will use the default specified inDefaultPool.final -
gke
→ Input<
TargetGke?> ? -
Information specifying a GKE Cluster.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
final
-
location
→ Input<
String> -
The location for the resource
final
-
multiTarget
→ Input<
TargetMultiTarget?> ? -
Information specifying a multiTarget.
final
-
name
→ Input<
String?> ? -
Name of the
Target. Format isa-z?.final -
project
→ Input<
String?> ? -
The project for the resource
final
-
requireApproval
→ Input<
bool?> ? -
Optional. Whether or not the
Targetrequires approval.final -
run
→ Input<
TargetRun?> ? -
Information specifying a Cloud Run deployment target.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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