Query

class Query : KotlinCustomResource

Submit a query to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the state of "enqueued" means that the request succeeded. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Properties

Link copied to clipboard
val created: Output<String>

Creation time of the query.

Link copied to clipboard

Hostname is available only when query is executed at host level.

Link copied to clipboard
val environmentId: Output<String>
Link copied to clipboard
val error: Output<String>

Error is set when query fails.

Link copied to clipboard
val executionTime: Output<String>

ExecutionTime is available only after the query is completed.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Asynchronous Query Name.

Link copied to clipboard
val organizationId: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Contains information like metrics, dimenstions etc of the AsyncQuery.

Link copied to clipboard

Asynchronous Report ID.

Link copied to clipboard

Result is available only after the query is completed.

Link copied to clipboard
val resultFileSize: Output<String>

ResultFileSize is available only after the query is completed.

Link copied to clipboard
val resultRows: Output<String>

ResultRows is available only after the query is completed.

Link copied to clipboard
val self: Output<String>

Self link of the query. Example: /organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd or following format if query is running at host level: /organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd

Link copied to clipboard
val state: Output<String>

Query state could be "enqueued", "running", "completed", "failed".

Link copied to clipboard
val updated: Output<String>

Last updated timestamp for the query.

Link copied to clipboard
val urn: Output<String>