TargetState class

Input properties used for looking up and filtering Target resources.

Constructors

TargetState({Input<Map<String, String>?>? annotations, Input<TargetAnthosCluster?>? anthosCluster, Input<List<TargetAssociatedEntity>?>? associatedEntities, Input<String?>? createTime, Input<TargetCustomTarget?>? customTarget, Input<String?>? deletionPolicy, Input<Map<String, String>?>? deployParameters, Input<String?>? description, Input<Map<String, String>?>? effectiveAnnotations, Input<Map<String, String>?>? effectiveLabels, Input<String?>? etag, Input<List<TargetExecutionConfig>?>? executionConfigs, Input<TargetGke?>? gke, Input<Map<String, String>?>? labels, Input<String?>? location, Input<TargetMultiTarget?>? multiTarget, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<bool?>? requireApproval, Input<TargetRun?>? run, Input<String?>? targetId, Input<String?>? uid, Input<String?>? updateTime})
Creates a new TargetState. annotations 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. anthosCluster Information specifying an Anthos Cluster. associatedEntities 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?$. createTime Output only. Time at which the Target was created. customTarget Optional. Information specifying a Custom Target. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". deployParameters Optional. The deploy parameters to use for this target. description Optional. Description of the Target. Max length is 255 characters. effectiveAnnotations All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. etag 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. executionConfigs Configurations for all execution that relates to this Target. Each ExecutionEnvironmentUsage value 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 the RENDER and DEPLOY ExecutionEnvironmentUsage values. When no configurations are specified, execution will use the default specified in DefaultPool. gke Information specifying a GKE Cluster. labels 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. location The location for the resource multiTarget Information specifying a multiTarget. name Name of the Target. Format is a-z?. project The project for the resource pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider. requireApproval Optional. Whether or not the Target requires approval. run Information specifying a Cloud Run deployment target. targetId Output only. Resource id of the Target. uid Output only. Unique identifier of the Target. updateTime Output only. Most recent time at which the Target was 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 Target was 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. Each ExecutionEnvironmentUsage value 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 the RENDER and DEPLOY ExecutionEnvironmentUsage values. When no configurations are specified, execution will use the default specified in DefaultPool.
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 is a-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 Target requires 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 Target was 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