Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk google_compute_disk}.
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDisk(scope: Construct, id: string, config: ComputeDiskConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
ComputeDiskConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: ComputeDiskConfig
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform |
No description. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
addMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
hasResourceMove |
No description. |
importFrom |
No description. |
interpolationForAttribute |
No description. |
moveFromId |
Move the resource corresponding to "id" to this resource. |
moveTo |
Moves this resource to the target resource given by moveTarget. |
moveToId |
Moves this resource to the resource corresponding to "id". |
putAsyncPrimaryDisk |
No description. |
putDiskEncryptionKey |
No description. |
putGuestOsFeatures |
No description. |
putParams |
No description. |
putSourceImageEncryptionKey |
No description. |
putSourceSnapshotEncryptionKey |
No description. |
putTimeouts |
No description. |
resetAccessMode |
No description. |
resetArchitecture |
No description. |
resetAsyncPrimaryDisk |
No description. |
resetCreateSnapshotBeforeDestroy |
No description. |
resetCreateSnapshotBeforeDestroyPrefix |
No description. |
resetDescription |
No description. |
resetDiskEncryptionKey |
No description. |
resetEnableConfidentialCompute |
No description. |
resetGuestOsFeatures |
No description. |
resetId |
No description. |
resetImage |
No description. |
resetLabels |
No description. |
resetLicenses |
No description. |
resetParams |
No description. |
resetPhysicalBlockSizeBytes |
No description. |
resetProject |
No description. |
resetProvisionedIops |
No description. |
resetProvisionedThroughput |
No description. |
resetSize |
No description. |
resetSnapshot |
No description. |
resetSourceDisk |
No description. |
resetSourceImageEncryptionKey |
No description. |
resetSourceInstantSnapshot |
No description. |
resetSourceSnapshotEncryptionKey |
No description. |
resetSourceStorageObject |
No description. |
resetStoragePool |
No description. |
resetTimeouts |
No description. |
resetType |
No description. |
resetZone |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): any
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public addMoveTarget(moveTarget: string): void
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
public importFrom(id: string, provider?: TerraformProvider): void
- Type: string
- Type: cdktf.TerraformProvider
public interpolationForAttribute(terraformAttribute: string): IResolvable
- Type: string
public moveFromId(id: string): void
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
public moveTo(moveTarget: string, index?: string | number): void
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: string | number
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
public moveToId(id: string): void
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public putAsyncPrimaryDisk(value: ComputeDiskAsyncPrimaryDisk): void
public putDiskEncryptionKey(value: ComputeDiskDiskEncryptionKey): void
public putGuestOsFeatures(value: IResolvable | ComputeDiskGuestOsFeatures[]): void
- Type: cdktf.IResolvable | ComputeDiskGuestOsFeatures[]
public putParams(value: ComputeDiskParams): void
- Type: ComputeDiskParams
public putSourceImageEncryptionKey(value: ComputeDiskSourceImageEncryptionKey): void
public putSourceSnapshotEncryptionKey(value: ComputeDiskSourceSnapshotEncryptionKey): void
public putTimeouts(value: ComputeDiskTimeouts): void
- Type: ComputeDiskTimeouts
public resetAccessMode(): void
public resetArchitecture(): void
public resetAsyncPrimaryDisk(): void
public resetCreateSnapshotBeforeDestroy(): void
public resetCreateSnapshotBeforeDestroyPrefix(): void
public resetDescription(): void
public resetDiskEncryptionKey(): void
public resetEnableConfidentialCompute(): void
public resetGuestOsFeatures(): void
public resetId(): void
public resetImage(): void
public resetLabels(): void
public resetLicenses(): void
public resetParams(): void
public resetPhysicalBlockSizeBytes(): void
public resetProject(): void
public resetProvisionedIops(): void
public resetProvisionedThroughput(): void
public resetSize(): void
public resetSnapshot(): void
public resetSourceDisk(): void
public resetSourceImageEncryptionKey(): void
public resetSourceInstantSnapshot(): void
public resetSourceSnapshotEncryptionKey(): void
public resetSourceStorageObject(): void
public resetStoragePool(): void
public resetTimeouts(): void
public resetType(): void
public resetZone(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a ComputeDisk resource upon running "cdktf plan ". |
import { computeDisk } from '@cdktf/provider-google'
computeDisk.ComputeDisk.isConstruct(x: any)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: any
Any object.
import { computeDisk } from '@cdktf/provider-google'
computeDisk.ComputeDisk.isTerraformElement(x: any)
- Type: any
import { computeDisk } from '@cdktf/provider-google'
computeDisk.ComputeDisk.isTerraformResource(x: any)
- Type: any
import { computeDisk } from '@cdktf/provider-google'
computeDisk.ComputeDisk.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)
Generates CDKTF code for importing a ComputeDisk resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the ComputeDisk to import.
- Type: string
The id of the existing ComputeDisk that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the ComputeDisk to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
asyncPrimaryDisk |
ComputeDiskAsyncPrimaryDiskOutputReference |
No description. |
creationTimestamp |
string |
No description. |
diskEncryptionKey |
ComputeDiskDiskEncryptionKeyOutputReference |
No description. |
diskId |
string |
No description. |
effectiveLabels |
cdktf.StringMap |
No description. |
guestOsFeatures |
ComputeDiskGuestOsFeaturesList |
No description. |
labelFingerprint |
string |
No description. |
lastAttachTimestamp |
string |
No description. |
lastDetachTimestamp |
string |
No description. |
params |
ComputeDiskParamsOutputReference |
No description. |
selfLink |
string |
No description. |
sourceDiskId |
string |
No description. |
sourceImageEncryptionKey |
ComputeDiskSourceImageEncryptionKeyOutputReference |
No description. |
sourceImageId |
string |
No description. |
sourceInstantSnapshotId |
string |
No description. |
sourceSnapshotEncryptionKey |
ComputeDiskSourceSnapshotEncryptionKeyOutputReference |
No description. |
sourceSnapshotId |
string |
No description. |
terraformLabels |
cdktf.StringMap |
No description. |
timeouts |
ComputeDiskTimeoutsOutputReference |
No description. |
users |
string[] |
No description. |
accessModeInput |
string |
No description. |
architectureInput |
string |
No description. |
asyncPrimaryDiskInput |
ComputeDiskAsyncPrimaryDisk |
No description. |
createSnapshotBeforeDestroyInput |
boolean | cdktf.IResolvable |
No description. |
createSnapshotBeforeDestroyPrefixInput |
string |
No description. |
descriptionInput |
string |
No description. |
diskEncryptionKeyInput |
ComputeDiskDiskEncryptionKey |
No description. |
enableConfidentialComputeInput |
boolean | cdktf.IResolvable |
No description. |
guestOsFeaturesInput |
cdktf.IResolvable | ComputeDiskGuestOsFeatures[] |
No description. |
idInput |
string |
No description. |
imageInput |
string |
No description. |
labelsInput |
{[ key: string ]: string} |
No description. |
licensesInput |
string[] |
No description. |
nameInput |
string |
No description. |
paramsInput |
ComputeDiskParams |
No description. |
physicalBlockSizeBytesInput |
number |
No description. |
projectInput |
string |
No description. |
provisionedIopsInput |
number |
No description. |
provisionedThroughputInput |
number |
No description. |
sizeInput |
number |
No description. |
snapshotInput |
string |
No description. |
sourceDiskInput |
string |
No description. |
sourceImageEncryptionKeyInput |
ComputeDiskSourceImageEncryptionKey |
No description. |
sourceInstantSnapshotInput |
string |
No description. |
sourceSnapshotEncryptionKeyInput |
ComputeDiskSourceSnapshotEncryptionKey |
No description. |
sourceStorageObjectInput |
string |
No description. |
storagePoolInput |
string |
No description. |
timeoutsInput |
cdktf.IResolvable | ComputeDiskTimeouts |
No description. |
typeInput |
string |
No description. |
zoneInput |
string |
No description. |
accessMode |
string |
No description. |
architecture |
string |
No description. |
createSnapshotBeforeDestroy |
boolean | cdktf.IResolvable |
No description. |
createSnapshotBeforeDestroyPrefix |
string |
No description. |
description |
string |
No description. |
enableConfidentialCompute |
boolean | cdktf.IResolvable |
No description. |
id |
string |
No description. |
image |
string |
No description. |
labels |
{[ key: string ]: string} |
No description. |
licenses |
string[] |
No description. |
name |
string |
No description. |
physicalBlockSizeBytes |
number |
No description. |
project |
string |
No description. |
provisionedIops |
number |
No description. |
provisionedThroughput |
number |
No description. |
size |
number |
No description. |
snapshot |
string |
No description. |
sourceDisk |
string |
No description. |
sourceInstantSnapshot |
string |
No description. |
sourceStorageObject |
string |
No description. |
storagePool |
string |
No description. |
type |
string |
No description. |
zone |
string |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];
- Type: string[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly asyncPrimaryDisk: ComputeDiskAsyncPrimaryDiskOutputReference;
public readonly creationTimestamp: string;
- Type: string
public readonly diskEncryptionKey: ComputeDiskDiskEncryptionKeyOutputReference;
public readonly diskId: string;
- Type: string
public readonly effectiveLabels: StringMap;
- Type: cdktf.StringMap
public readonly guestOsFeatures: ComputeDiskGuestOsFeaturesList;
public readonly labelFingerprint: string;
- Type: string
public readonly lastAttachTimestamp: string;
- Type: string
public readonly lastDetachTimestamp: string;
- Type: string
public readonly params: ComputeDiskParamsOutputReference;
public readonly selfLink: string;
- Type: string
public readonly sourceDiskId: string;
- Type: string
public readonly sourceImageEncryptionKey: ComputeDiskSourceImageEncryptionKeyOutputReference;
public readonly sourceImageId: string;
- Type: string
public readonly sourceInstantSnapshotId: string;
- Type: string
public readonly sourceSnapshotEncryptionKey: ComputeDiskSourceSnapshotEncryptionKeyOutputReference;
public readonly sourceSnapshotId: string;
- Type: string
public readonly terraformLabels: StringMap;
- Type: cdktf.StringMap
public readonly timeouts: ComputeDiskTimeoutsOutputReference;
public readonly users: string[];
- Type: string[]
public readonly accessModeInput: string;
- Type: string
public readonly architectureInput: string;
- Type: string
public readonly asyncPrimaryDiskInput: ComputeDiskAsyncPrimaryDisk;
public readonly createSnapshotBeforeDestroyInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly createSnapshotBeforeDestroyPrefixInput: string;
- Type: string
public readonly descriptionInput: string;
- Type: string
public readonly diskEncryptionKeyInput: ComputeDiskDiskEncryptionKey;
public readonly enableConfidentialComputeInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly guestOsFeaturesInput: IResolvable | ComputeDiskGuestOsFeatures[];
- Type: cdktf.IResolvable | ComputeDiskGuestOsFeatures[]
public readonly idInput: string;
- Type: string
public readonly imageInput: string;
- Type: string
public readonly labelsInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly licensesInput: string[];
- Type: string[]
public readonly nameInput: string;
- Type: string
public readonly paramsInput: ComputeDiskParams;
- Type: ComputeDiskParams
public readonly physicalBlockSizeBytesInput: number;
- Type: number
public readonly projectInput: string;
- Type: string
public readonly provisionedIopsInput: number;
- Type: number
public readonly provisionedThroughputInput: number;
- Type: number
public readonly sizeInput: number;
- Type: number
public readonly snapshotInput: string;
- Type: string
public readonly sourceDiskInput: string;
- Type: string
public readonly sourceImageEncryptionKeyInput: ComputeDiskSourceImageEncryptionKey;
public readonly sourceInstantSnapshotInput: string;
- Type: string
public readonly sourceSnapshotEncryptionKeyInput: ComputeDiskSourceSnapshotEncryptionKey;
public readonly sourceStorageObjectInput: string;
- Type: string
public readonly storagePoolInput: string;
- Type: string
public readonly timeoutsInput: IResolvable | ComputeDiskTimeouts;
- Type: cdktf.IResolvable | ComputeDiskTimeouts
public readonly typeInput: string;
- Type: string
public readonly zoneInput: string;
- Type: string
public readonly accessMode: string;
- Type: string
public readonly architecture: string;
- Type: string
public readonly createSnapshotBeforeDestroy: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly createSnapshotBeforeDestroyPrefix: string;
- Type: string
public readonly description: string;
- Type: string
public readonly enableConfidentialCompute: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly id: string;
- Type: string
public readonly image: string;
- Type: string
public readonly labels: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly licenses: string[];
- Type: string[]
public readonly name: string;
- Type: string
public readonly physicalBlockSizeBytes: number;
- Type: number
public readonly project: string;
- Type: string
public readonly provisionedIops: number;
- Type: number
public readonly provisionedThroughput: number;
- Type: number
public readonly size: number;
- Type: number
public readonly snapshot: string;
- Type: string
public readonly sourceDisk: string;
- Type: string
public readonly sourceInstantSnapshot: string;
- Type: string
public readonly sourceStorageObject: string;
- Type: string
public readonly storagePool: string;
- Type: string
public readonly type: string;
- Type: string
public readonly zone: string;
- Type: string
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { computeDisk } from '@cdktf/provider-google'
const computeDiskAsyncPrimaryDisk: computeDisk.ComputeDiskAsyncPrimaryDisk = { ... }
Name | Type | Description |
---|---|---|
disk |
string |
Primary disk for asynchronous disk replication. |
public readonly disk: string;
- Type: string
Primary disk for asynchronous disk replication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#disk ComputeDisk#disk}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskConfig: computeDisk.ComputeDiskConfig = { ... }
Name | Type | Description |
---|---|---|
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
cdktf.ITerraformDependable[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
name |
string |
Name of the resource. |
accessMode |
string |
The accessMode of the disk. For example: * READ_WRITE_SINGLE * READ_WRITE_MANY * READ_ONLY_SINGLE. |
architecture |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#architecture ComputeDisk#architecture}. |
asyncPrimaryDisk |
ComputeDiskAsyncPrimaryDisk |
async_primary_disk block. |
createSnapshotBeforeDestroy |
boolean | cdktf.IResolvable |
If set to true, a snapshot of the disk will be created before it is destroyed. |
createSnapshotBeforeDestroyPrefix |
string |
This will set a custom name prefix for the snapshot that's created when the disk is deleted. |
description |
string |
An optional description of this resource. Provide this property when you create the resource. |
diskEncryptionKey |
ComputeDiskDiskEncryptionKey |
disk_encryption_key block. |
enableConfidentialCompute |
boolean | cdktf.IResolvable |
Whether this disk is using confidential compute mode. |
guestOsFeatures |
cdktf.IResolvable | ComputeDiskGuestOsFeatures[] |
guest_os_features block. |
id |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#id ComputeDisk#id}. |
image |
string |
The image from which to initialize this disk. |
labels |
{[ key: string ]: string} |
Labels to apply to this disk. A list of key->value pairs. |
licenses |
string[] |
Any applicable license URI. |
params |
ComputeDiskParams |
params block. |
physicalBlockSizeBytes |
number |
Physical block size of the persistent disk, in bytes. |
project |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#project ComputeDisk#project}. |
provisionedIops |
number |
Indicates how many IOPS must be provisioned for the disk. |
provisionedThroughput |
number |
Indicates how much Throughput must be provisioned for the disk. |
size |
number |
Size of the persistent disk, specified in GB. |
snapshot |
string |
The source snapshot used to create this disk. |
sourceDisk |
string |
The source disk used to create this disk. |
sourceImageEncryptionKey |
ComputeDiskSourceImageEncryptionKey |
source_image_encryption_key block. |
sourceInstantSnapshot |
string |
The source instant snapshot used to create this disk. |
sourceSnapshotEncryptionKey |
ComputeDiskSourceSnapshotEncryptionKey |
source_snapshot_encryption_key block. |
sourceStorageObject |
string |
The full Google Cloud Storage URI where the disk image is stored. |
storagePool |
string |
The URL or the name of the storage pool in which the new disk is created. |
timeouts |
ComputeDiskTimeouts |
timeouts block. |
type |
string |
URL of the disk type resource describing which disk type to use to create the disk. |
zone |
string |
A reference to the zone where the disk resides. |
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];
- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly name: string;
- Type: string
Name of the resource.
Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression 'a-z?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#name ComputeDisk#name}
public readonly accessMode: string;
- Type: string
The accessMode of the disk. For example: * READ_WRITE_SINGLE * READ_WRITE_MANY * READ_ONLY_SINGLE.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#access_mode ComputeDisk#access_mode}
public readonly architecture: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#architecture ComputeDisk#architecture}.
public readonly asyncPrimaryDisk: ComputeDiskAsyncPrimaryDisk;
async_primary_disk block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#async_primary_disk ComputeDisk#async_primary_disk}
public readonly createSnapshotBeforeDestroy: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
If set to true, a snapshot of the disk will be created before it is destroyed.
If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation. The name of the snapshot by default will be '{{disk-name}}-YYYYMMDD-HHmm'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create_snapshot_before_destroy ComputeDisk#create_snapshot_before_destroy}
public readonly createSnapshotBeforeDestroyPrefix: string;
- Type: string
This will set a custom name prefix for the snapshot that's created when the disk is deleted.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create_snapshot_before_destroy_prefix ComputeDisk#create_snapshot_before_destroy_prefix}
public readonly description: string;
- Type: string
An optional description of this resource. Provide this property when you create the resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#description ComputeDisk#description}
public readonly diskEncryptionKey: ComputeDiskDiskEncryptionKey;
disk_encryption_key block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#disk_encryption_key ComputeDisk#disk_encryption_key}
public readonly enableConfidentialCompute: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Whether this disk is using confidential compute mode.
Note: Only supported on hyperdisk skus, disk_encryption_key is required when setting to true
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#enable_confidential_compute ComputeDisk#enable_confidential_compute}
public readonly guestOsFeatures: IResolvable | ComputeDiskGuestOsFeatures[];
- Type: cdktf.IResolvable | ComputeDiskGuestOsFeatures[]
guest_os_features block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#guest_os_features ComputeDisk#guest_os_features}
public readonly id: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#id ComputeDisk#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.
public readonly image: string;
- Type: string
The image from which to initialize this disk.
This can be one of: the image's 'self_link', 'projects/{project}/global/images/{image}', 'projects/{project}/global/images/family/{family}', 'global/images/{image}', 'global/images/family/{family}', 'family/{family}', '{project}/{family}', '{project}/{image}', '{family}', or '{image}'. If referred by family, the images names must include the family name. If they don't, use the google_compute_image data source. For instance, the image 'centos-6-v20180104' includes its family name 'centos-6'. These images can be referred by family name here.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#image ComputeDisk#image}
public readonly labels: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Labels to apply to this disk. A list of key->value pairs.
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.34.0/docs/resources/compute_disk#labels ComputeDisk#labels}
public readonly licenses: string[];
- Type: string[]
Any applicable license URI.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#licenses ComputeDisk#licenses}
public readonly params: ComputeDiskParams;
- Type: ComputeDiskParams
params block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#params ComputeDisk#params}
public readonly physicalBlockSizeBytes: number;
- Type: number
Physical block size of the persistent disk, in bytes.
If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#physical_block_size_bytes ComputeDisk#physical_block_size_bytes}
public readonly project: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#project ComputeDisk#project}.
public readonly provisionedIops: number;
- Type: number
Indicates how many IOPS must be provisioned for the disk.
Note: Updating currently is only supported by hyperdisk skus without the need to delete and recreate the disk, hyperdisk allows for an update of IOPS every 4 hours. To update your hyperdisk more frequently, you'll need to manually delete and recreate it
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#provisioned_iops ComputeDisk#provisioned_iops}
public readonly provisionedThroughput: number;
- Type: number
Indicates how much Throughput must be provisioned for the disk.
Note: Updating currently is only supported by hyperdisk skus without the need to delete and recreate the disk, hyperdisk allows for an update of Throughput every 4 hours. To update your hyperdisk more frequently, you'll need to manually delete and recreate it
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#provisioned_throughput ComputeDisk#provisioned_throughput}
public readonly size: number;
- Type: number
Size of the persistent disk, specified in GB.
You can specify this field when creating a persistent disk using the 'image' or 'snapshot' parameter, or specify it alone to create an empty persistent disk.
If you specify this field along with 'image' or 'snapshot', the value must not be less than the size of the image or the size of the snapshot.
~>NOTE If you change the size, Terraform updates the disk size if upsizing is detected but recreates the disk if downsizing is requested. You can add 'lifecycle.prevent_destroy' in the config to prevent destroying and recreating.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#size ComputeDisk#size}
public readonly snapshot: string;
- Type: string
The source snapshot used to create this disk.
You can provide this as a partial or full URL to the resource. If the snapshot is in another project than this disk, you must supply a full URL. For example, the following are valid values:
- 'https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot'
- 'projects/project/global/snapshots/snapshot'
- 'global/snapshots/snapshot'
- 'snapshot'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#snapshot ComputeDisk#snapshot}
public readonly sourceDisk: string;
- Type: string
The source disk used to create this disk.
You can provide this as a partial or full URL to the resource. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks/{disk}
- https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/disks/{disk}
- projects/{project}/zones/{zone}/disks/{disk}
- projects/{project}/regions/{region}/disks/{disk}
- zones/{zone}/disks/{disk}
- regions/{region}/disks/{disk}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_disk ComputeDisk#source_disk}
public readonly sourceImageEncryptionKey: ComputeDiskSourceImageEncryptionKey;
source_image_encryption_key block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_image_encryption_key ComputeDisk#source_image_encryption_key}
public readonly sourceInstantSnapshot: string;
- Type: string
The source instant snapshot used to create this disk.
You can provide this as a partial or full URL to the resource. For example, the following are valid values:
- 'https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot'
- 'projects/project/zones/zone/instantSnapshots/instantSnapshot'
- 'zones/zone/instantSnapshots/instantSnapshot'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_instant_snapshot ComputeDisk#source_instant_snapshot}
public readonly sourceSnapshotEncryptionKey: ComputeDiskSourceSnapshotEncryptionKey;
source_snapshot_encryption_key block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_snapshot_encryption_key ComputeDisk#source_snapshot_encryption_key}
public readonly sourceStorageObject: string;
- Type: string
The full Google Cloud Storage URI where the disk image is stored.
This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_storage_object ComputeDisk#source_storage_object}
public readonly storagePool: string;
- Type: string
The URL or the name of the storage pool in which the new disk is created.
For example:
- https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}
- /projects/{project}/zones/{zone}/storagePools/{storagePool}
- /zones/{zone}/storagePools/{storagePool}
- /{storagePool}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#storage_pool ComputeDisk#storage_pool}
public readonly timeouts: ComputeDiskTimeouts;
- Type: ComputeDiskTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#timeouts ComputeDisk#timeouts}
public readonly type: string;
- Type: string
URL of the disk type resource describing which disk type to use to create the disk.
Provide this when creating the disk.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#type ComputeDisk#type}
public readonly zone: string;
- Type: string
A reference to the zone where the disk resides.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#zone ComputeDisk#zone}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskDiskEncryptionKey: computeDisk.ComputeDiskDiskEncryptionKey = { ... }
Name | Type | Description |
---|---|---|
kmsKeySelfLink |
string |
The self link of the encryption key used to encrypt the disk. |
kmsKeyServiceAccount |
string |
The service account used for the encryption request for the given KMS key. |
rawKey |
string |
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. |
rsaEncryptedKey |
string |
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. |
public readonly kmsKeySelfLink: string;
- Type: string
The self link of the encryption key used to encrypt the disk.
Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}
public readonly kmsKeyServiceAccount: string;
- Type: string
The service account used for the encryption request for the given KMS key.
If absent, the Compute Engine Service Agent service account is used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}
public readonly rawKey: string;
- Type: string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}
public readonly rsaEncryptedKey: string;
- Type: string
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
You can provide either the rawKey or the rsaEncryptedKey.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#rsa_encrypted_key ComputeDisk#rsa_encrypted_key}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskGuestOsFeatures: computeDisk.ComputeDiskGuestOsFeatures = { ... }
Name | Type | Description |
---|---|---|
type |
string |
The type of supported feature. Read Enabling guest operating system features to see a list of available options. |
public readonly type: string;
- Type: string
The type of supported feature. Read Enabling guest operating system features to see a list of available options.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#type ComputeDisk#type}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskParams: computeDisk.ComputeDiskParams = { ... }
Name | Type | Description |
---|---|---|
resourceManagerTags |
{[ key: string ]: string} |
Resource manager tags to be bound to the disk. |
public readonly resourceManagerTags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Resource manager tags to be bound to the disk.
Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#resource_manager_tags ComputeDisk#resource_manager_tags}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskSourceImageEncryptionKey: computeDisk.ComputeDiskSourceImageEncryptionKey = { ... }
Name | Type | Description |
---|---|---|
kmsKeySelfLink |
string |
The self link of the encryption key used to encrypt the disk. |
kmsKeyServiceAccount |
string |
The service account used for the encryption request for the given KMS key. |
rawKey |
string |
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. |
public readonly kmsKeySelfLink: string;
- Type: string
The self link of the encryption key used to encrypt the disk.
Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}
public readonly kmsKeyServiceAccount: string;
- Type: string
The service account used for the encryption request for the given KMS key.
If absent, the Compute Engine Service Agent service account is used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}
public readonly rawKey: string;
- Type: string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskSourceSnapshotEncryptionKey: computeDisk.ComputeDiskSourceSnapshotEncryptionKey = { ... }
Name | Type | Description |
---|---|---|
kmsKeySelfLink |
string |
The self link of the encryption key used to encrypt the disk. |
kmsKeyServiceAccount |
string |
The service account used for the encryption request for the given KMS key. |
rawKey |
string |
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. |
public readonly kmsKeySelfLink: string;
- Type: string
The self link of the encryption key used to encrypt the disk.
Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}
public readonly kmsKeyServiceAccount: string;
- Type: string
The service account used for the encryption request for the given KMS key.
If absent, the Compute Engine Service Agent service account is used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}
public readonly rawKey: string;
- Type: string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}
import { computeDisk } from '@cdktf/provider-google'
const computeDiskTimeouts: computeDisk.ComputeDiskTimeouts = { ... }
Name | Type | Description |
---|---|---|
create |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create ComputeDisk#create}. |
delete |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#delete ComputeDisk#delete}. |
update |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#update ComputeDisk#update}. |
public readonly create: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create ComputeDisk#create}.
public readonly delete: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#delete ComputeDisk#delete}.
public readonly update: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#update ComputeDisk#update}.
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskAsyncPrimaryDiskOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
diskInput |
string |
No description. |
disk |
string |
No description. |
internalValue |
ComputeDiskAsyncPrimaryDisk |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly diskInput: string;
- Type: string
public readonly disk: string;
- Type: string
public readonly internalValue: ComputeDiskAsyncPrimaryDisk;
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskDiskEncryptionKeyOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetKmsKeySelfLink |
No description. |
resetKmsKeyServiceAccount |
No description. |
resetRawKey |
No description. |
resetRsaEncryptedKey |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetKmsKeySelfLink(): void
public resetKmsKeyServiceAccount(): void
public resetRawKey(): void
public resetRsaEncryptedKey(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
sha256 |
string |
No description. |
kmsKeySelfLinkInput |
string |
No description. |
kmsKeyServiceAccountInput |
string |
No description. |
rawKeyInput |
string |
No description. |
rsaEncryptedKeyInput |
string |
No description. |
kmsKeySelfLink |
string |
No description. |
kmsKeyServiceAccount |
string |
No description. |
rawKey |
string |
No description. |
rsaEncryptedKey |
string |
No description. |
internalValue |
ComputeDiskDiskEncryptionKey |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly sha256: string;
- Type: string
public readonly kmsKeySelfLinkInput: string;
- Type: string
public readonly kmsKeyServiceAccountInput: string;
- Type: string
public readonly rawKeyInput: string;
- Type: string
public readonly rsaEncryptedKeyInput: string;
- Type: string
public readonly kmsKeySelfLink: string;
- Type: string
public readonly kmsKeyServiceAccount: string;
- Type: string
public readonly rawKey: string;
- Type: string
public readonly rsaEncryptedKey: string;
- Type: string
public readonly internalValue: ComputeDiskDiskEncryptionKey;
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskGuestOsFeaturesList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
wrapsSet |
boolean |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
- Type: boolean
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
allWithMapKey |
Creating an iterator for this complex list. |
computeFqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
get |
No description. |
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: string
public computeFqn(): string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public get(index: number): ComputeDiskGuestOsFeaturesOutputReference
- Type: number
the index of the item to return.
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
internalValue |
cdktf.IResolvable | ComputeDiskGuestOsFeatures[] |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly internalValue: IResolvable | ComputeDiskGuestOsFeatures[];
- Type: cdktf.IResolvable | ComputeDiskGuestOsFeatures[]
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskGuestOsFeaturesOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
complexObjectIndex |
number |
the index of this item in the list. |
complexObjectIsFromSet |
boolean |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
- Type: number
the index of this item in the list.
- Type: boolean
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
typeInput |
string |
No description. |
type |
string |
No description. |
internalValue |
cdktf.IResolvable | ComputeDiskGuestOsFeatures |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly typeInput: string;
- Type: string
public readonly type: string;
- Type: string
public readonly internalValue: IResolvable | ComputeDiskGuestOsFeatures;
- Type: cdktf.IResolvable | ComputeDiskGuestOsFeatures
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskParamsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetResourceManagerTags |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetResourceManagerTags(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
resourceManagerTagsInput |
{[ key: string ]: string} |
No description. |
resourceManagerTags |
{[ key: string ]: string} |
No description. |
internalValue |
ComputeDiskParams |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly resourceManagerTagsInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly resourceManagerTags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly internalValue: ComputeDiskParams;
- Type: ComputeDiskParams
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskSourceImageEncryptionKeyOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetKmsKeySelfLink |
No description. |
resetKmsKeyServiceAccount |
No description. |
resetRawKey |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetKmsKeySelfLink(): void
public resetKmsKeyServiceAccount(): void
public resetRawKey(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
sha256 |
string |
No description. |
kmsKeySelfLinkInput |
string |
No description. |
kmsKeyServiceAccountInput |
string |
No description. |
rawKeyInput |
string |
No description. |
kmsKeySelfLink |
string |
No description. |
kmsKeyServiceAccount |
string |
No description. |
rawKey |
string |
No description. |
internalValue |
ComputeDiskSourceImageEncryptionKey |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly sha256: string;
- Type: string
public readonly kmsKeySelfLinkInput: string;
- Type: string
public readonly kmsKeyServiceAccountInput: string;
- Type: string
public readonly rawKeyInput: string;
- Type: string
public readonly kmsKeySelfLink: string;
- Type: string
public readonly kmsKeyServiceAccount: string;
- Type: string
public readonly rawKey: string;
- Type: string
public readonly internalValue: ComputeDiskSourceImageEncryptionKey;
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskSourceSnapshotEncryptionKeyOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetKmsKeySelfLink |
No description. |
resetKmsKeyServiceAccount |
No description. |
resetRawKey |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetKmsKeySelfLink(): void
public resetKmsKeyServiceAccount(): void
public resetRawKey(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
sha256 |
string |
No description. |
kmsKeySelfLinkInput |
string |
No description. |
kmsKeyServiceAccountInput |
string |
No description. |
rawKeyInput |
string |
No description. |
kmsKeySelfLink |
string |
No description. |
kmsKeyServiceAccount |
string |
No description. |
rawKey |
string |
No description. |
internalValue |
ComputeDiskSourceSnapshotEncryptionKey |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly sha256: string;
- Type: string
public readonly kmsKeySelfLinkInput: string;
- Type: string
public readonly kmsKeyServiceAccountInput: string;
- Type: string
public readonly rawKeyInput: string;
- Type: string
public readonly kmsKeySelfLink: string;
- Type: string
public readonly kmsKeyServiceAccount: string;
- Type: string
public readonly rawKey: string;
- Type: string
public readonly internalValue: ComputeDiskSourceSnapshotEncryptionKey;
import { computeDisk } from '@cdktf/provider-google'
new computeDisk.ComputeDiskTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetCreate |
No description. |
resetDelete |
No description. |
resetUpdate |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetCreate(): void
public resetDelete(): void
public resetUpdate(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
createInput |
string |
No description. |
deleteInput |
string |
No description. |
updateInput |
string |
No description. |
create |
string |
No description. |
delete |
string |
No description. |
update |
string |
No description. |
internalValue |
cdktf.IResolvable | ComputeDiskTimeouts |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly createInput: string;
- Type: string
public readonly deleteInput: string;
- Type: string
public readonly updateInput: string;
- Type: string
public readonly create: string;
- Type: string
public readonly delete: string;
- Type: string
public readonly update: string;
- Type: string
public readonly internalValue: IResolvable | ComputeDiskTimeouts;
- Type: cdktf.IResolvable | ComputeDiskTimeouts