TargetState class
Input properties used for looking up and filtering Target resources.
Constructors
-
TargetState({Input<
Map< ? annotations, Input<String, String> ?>TargetAnthosCluster?> ? anthosCluster, Input<List< ? associatedEntities, Input<TargetAssociatedEntity> ?>String?> ? createTime, Input<TargetCustomTarget?> ? customTarget, Input<String?> ? deletionPolicy, Input<Map< ? deployParameters, Input<String, String> ?>String?> ? description, Input<Map< ? effectiveAnnotations, Input<String, String> ?>Map< ? effectiveLabels, Input<String, String> ?>String?> ? etag, Input<List< ? executionConfigs, Input<TargetExecutionConfig> ?>TargetGke?> ? gke, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<TargetMultiTarget?> ? multiTarget, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>bool?> ? requireApproval, Input<TargetRun?> ? run, Input<String?> ? targetId, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new TargetState.
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?$.createTimeOutput only. Time at which theTargetwas created.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.effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.etagOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.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 resourcepulumiLabelsThe combination of labels configured directly on the resource and default labels configured on the provider.requireApprovalOptional. Whether or not theTargetrequires approval.runInformation specifying a Cloud Run deployment target.targetIdOutput only. Resource id of theTarget.uidOutput only. Unique identifier of theTarget.updateTimeOutput only. Most recent time at which theTargetwas updated.const -
TargetState.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 -
createTime
→ Input<
String?> ? -
Output only. Time at which the
Targetwas created.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 -
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
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
-
etag
→ Input<
String?> ? -
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource and default labels configured on the provider.
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
-
targetId
→ Input<
String?> ? -
Output only. Resource id of the
Target.final -
uid
→ Input<
String?> ? -
Output only. Unique identifier of the
Target.final -
updateTime
→ Input<
String?> ? -
Output only. Most recent time at which the
Targetwas updated.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