import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns information about the capacity commitment. */ export declare function getCapacityCommitment(args: GetCapacityCommitmentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetCapacityCommitmentArgs { capacityCommitmentId: string; location: string; project?: string; } export interface GetCapacityCommitmentResult { /** * The end of the current commitment period. It is applicable only for ACTIVE capacity commitments. */ readonly commitmentEndTime: string; /** * The start of the current commitment period. It is applicable only for ACTIVE capacity commitments. */ readonly commitmentStartTime: string; /** * For FAILED commitment plan, provides the reason of failure. */ readonly failureStatus: outputs.bigqueryreservation.v1beta1.StatusResponse; /** * Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. */ readonly multiRegionAuxiliary: boolean; /** * The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. */ readonly name: string; /** * Capacity commitment commitment plan. */ readonly plan: string; /** * The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL commitments. */ readonly renewalPlan: string; /** * Number of slots in this commitment. */ readonly slotCount: string; /** * State of the commitment. */ readonly state: string; } /** * Returns information about the capacity commitment. */ export declare function getCapacityCommitmentOutput(args: GetCapacityCommitmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetCapacityCommitmentOutputArgs { capacityCommitmentId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }