@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
211 lines (210 loc) • 10.2 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface VertexAiTensorboardConfig extends cdktf.TerraformMetaArguments {
/**
* Description of this Tensorboard.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#description VertexAiTensorboard#description}
*/
readonly description?: string;
/**
* User provided name of this Tensorboard.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#display_name VertexAiTensorboard#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#id VertexAiTensorboard#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 labels with user-defined metadata to organize your Tensorboards.
*
*
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
* Please refer to the field 'effective_labels' for all of the labels present on the resource.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#labels VertexAiTensorboard#labels}
*/
readonly labels?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#project VertexAiTensorboard#project}
*/
readonly project?: string;
/**
* The region of the tensorboard. eg us-central1
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#region VertexAiTensorboard#region}
*/
readonly region?: string;
/**
* encryption_spec block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#encryption_spec VertexAiTensorboard#encryption_spec}
*/
readonly encryptionSpec?: VertexAiTensorboardEncryptionSpec;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#timeouts VertexAiTensorboard#timeouts}
*/
readonly timeouts?: VertexAiTensorboardTimeouts;
}
export interface VertexAiTensorboardEncryptionSpec {
/**
* The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource.
* Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#kms_key_name VertexAiTensorboard#kms_key_name}
*/
readonly kmsKeyName: string;
}
export declare function vertexAiTensorboardEncryptionSpecToTerraform(struct?: VertexAiTensorboardEncryptionSpecOutputReference | VertexAiTensorboardEncryptionSpec): any;
export declare function vertexAiTensorboardEncryptionSpecToHclTerraform(struct?: VertexAiTensorboardEncryptionSpecOutputReference | VertexAiTensorboardEncryptionSpec): any;
export declare class VertexAiTensorboardEncryptionSpecOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): VertexAiTensorboardEncryptionSpec | undefined;
set internalValue(value: VertexAiTensorboardEncryptionSpec | undefined);
private _kmsKeyName?;
get kmsKeyName(): string;
set kmsKeyName(value: string);
get kmsKeyNameInput(): string | undefined;
}
export interface VertexAiTensorboardTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#create VertexAiTensorboard#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#delete VertexAiTensorboard#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#update VertexAiTensorboard#update}
*/
readonly update?: string;
}
export declare function vertexAiTensorboardTimeoutsToTerraform(struct?: VertexAiTensorboardTimeouts | cdktf.IResolvable): any;
export declare function vertexAiTensorboardTimeoutsToHclTerraform(struct?: VertexAiTensorboardTimeouts | cdktf.IResolvable): any;
export declare class VertexAiTensorboardTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): VertexAiTensorboardTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: VertexAiTensorboardTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard google_vertex_ai_tensorboard}
*/
export declare class VertexAiTensorboard extends cdktf.TerraformResource {
static readonly tfResourceType = "google_vertex_ai_tensorboard";
/**
* Generates CDKTF code for importing a VertexAiTensorboard 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 VertexAiTensorboard to import
* @param importFromId The id of the existing VertexAiTensorboard that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vertex_ai_tensorboard#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the VertexAiTensorboard 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/resources/vertex_ai_tensorboard google_vertex_ai_tensorboard} Resource
*
* @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 VertexAiTensorboardConfig
*/
constructor(scope: Construct, id: string, config: VertexAiTensorboardConfig);
get blobStoragePathPrefix(): string;
get createTime(): string;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
get displayNameInput(): string | undefined;
private _effectiveLabels;
get effectiveLabels(): cdktf.StringMap;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _labels?;
get labels(): {
[key: string]: string;
};
set labels(value: {
[key: string]: string;
});
resetLabels(): void;
get labelsInput(): {
[key: string]: string;
} | undefined;
get name(): string;
private _project?;
get project(): string;
set project(value: string);
resetProject(): void;
get projectInput(): string | undefined;
private _region?;
get region(): string;
set region(value: string);
resetRegion(): void;
get regionInput(): string | undefined;
get runCount(): string;
private _terraformLabels;
get terraformLabels(): cdktf.StringMap;
get updateTime(): string;
private _encryptionSpec;
get encryptionSpec(): VertexAiTensorboardEncryptionSpecOutputReference;
putEncryptionSpec(value: VertexAiTensorboardEncryptionSpec): void;
resetEncryptionSpec(): void;
get encryptionSpecInput(): VertexAiTensorboardEncryptionSpec | undefined;
private _timeouts;
get timeouts(): VertexAiTensorboardTimeoutsOutputReference;
putTimeouts(value: VertexAiTensorboardTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | VertexAiTensorboardTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}