UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

107 lines (106 loc) 5.11 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGoogleBackupDrBackupVaultConfig extends cdktf.TerraformMetaArguments { /** * Required. ID of the requesting object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault#backup_vault_id DataGoogleBackupDrBackupVault#backup_vault_id} */ readonly backupVaultId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault#id DataGoogleBackupDrBackupVault#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * The GCP location for the backup vault. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault#location DataGoogleBackupDrBackupVault#location} */ readonly location: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault#project DataGoogleBackupDrBackupVault#project} */ readonly project?: string; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault google_backup_dr_backup_vault} */ export declare class DataGoogleBackupDrBackupVault extends cdktf.TerraformDataSource { static readonly tfResourceType = "google_backup_dr_backup_vault"; /** * Generates CDKTF code for importing a DataGoogleBackupDrBackupVault resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataGoogleBackupDrBackupVault to import * @param importFromId The id of the existing DataGoogleBackupDrBackupVault that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGoogleBackupDrBackupVault to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/data-sources/backup_dr_backup_vault google_backup_dr_backup_vault} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataGoogleBackupDrBackupVaultConfig */ constructor(scope: Construct, id: string, config: DataGoogleBackupDrBackupVaultConfig); get accessRestriction(): string; get allowMissing(): cdktf.IResolvable; private _annotations; get annotations(): cdktf.StringMap; get backupCount(): string; get backupMinimumEnforcedRetentionDuration(): string; private _backupVaultId?; get backupVaultId(): string; set backupVaultId(value: string); get backupVaultIdInput(): string | undefined; get createTime(): string; get deletable(): cdktf.IResolvable; get description(): string; private _effectiveAnnotations; get effectiveAnnotations(): cdktf.StringMap; private _effectiveLabels; get effectiveLabels(): cdktf.StringMap; get effectiveTime(): string; get etag(): string; get forceDelete(): cdktf.IResolvable; get forceUpdate(): cdktf.IResolvable; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get ignoreBackupPlanReferences(): cdktf.IResolvable; get ignoreInactiveDatasources(): cdktf.IResolvable; private _labels; get labels(): cdktf.StringMap; private _location?; get location(): string; set location(value: string); get locationInput(): string | undefined; get name(): string; private _project?; get project(): string; set project(value: string); resetProject(): void; get projectInput(): string | undefined; get serviceAccount(): string; get state(): string; private _terraformLabels; get terraformLabels(): cdktf.StringMap; get totalStoredBytes(): string; get uid(): string; get updateTime(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }