import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new Target in a given project and location. */ export declare class Target extends pulumi.CustomResource { /** * Get an existing Target resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Target; /** * Returns true if the given object is an instance of Target. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Target; /** * Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * Optional. Information specifying an Anthos Cluster. */ readonly anthosCluster: pulumi.Output; /** * Time at which the `Target` was created. */ readonly createTime: pulumi.Output; /** * Optional. The deploy parameters to use for this target. */ readonly deployParameters: pulumi.Output<{ [key: string]: string; }>; /** * Optional. Description of the `Target`. Max length is 255 characters. */ readonly description: pulumi.Output; /** * 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. */ readonly etag: pulumi.Output; /** * 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`. */ readonly executionConfigs: pulumi.Output; /** * Optional. Information specifying a GKE Cluster. */ readonly gke: pulumi.Output; /** * Optional. Labels are attributes that can be set and used by both the user and by 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. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Optional. Information specifying a multiTarget. */ readonly multiTarget: pulumi.Output; /** * Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/a-z{0,62}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * Optional. Whether or not the `Target` requires approval. */ readonly requireApproval: pulumi.Output; /** * Optional. Information specifying a Cloud Run deployment target. */ readonly run: pulumi.Output; /** * Required. ID of the `Target`. */ readonly targetId: pulumi.Output; /** * Unique identifier of the `Target`. */ readonly uid: pulumi.Output; /** * Most recent time at which the `Target` was updated. */ readonly updateTime: pulumi.Output; /** * Create a Target resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TargetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Target resource. */ export interface TargetArgs { /** * Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Optional. Information specifying an Anthos Cluster. */ anthosCluster?: pulumi.Input; /** * Optional. The deploy parameters to use for this target. */ deployParameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Optional. Description of the `Target`. Max length is 255 characters. */ description?: pulumi.Input; /** * 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. */ etag?: pulumi.Input; /** * 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`. */ executionConfigs?: pulumi.Input[]>; /** * Optional. Information specifying a GKE Cluster. */ gke?: pulumi.Input; /** * Optional. Labels are attributes that can be set and used by both the user and by 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. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Optional. Information specifying a multiTarget. */ multiTarget?: pulumi.Input; /** * Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/a-z{0,62}`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * Optional. Whether or not the `Target` requires approval. */ requireApproval?: pulumi.Input; /** * Optional. Information specifying a Cloud Run deployment target. */ run?: pulumi.Input; /** * Required. ID of the `Target`. */ targetId: pulumi.Input; }