pub struct GetDiskResult {Show 38 fields
pub access_mode: Output<String>,
pub async_primary_disks: Output<Vec<GetDiskAsyncPrimaryDisk>>,
pub creation_timestamp: Output<String>,
pub description: Output<String>,
pub disk_encryption_keys: Output<Vec<GetDiskDiskEncryptionKey>>,
pub disk_id: Output<String>,
pub effective_labels: Output<HashMap<String, String>>,
pub enable_confidential_compute: Output<bool>,
pub guest_os_features: Output<Vec<GetDiskGuestOsFeature>>,
pub id: Output<String>,
pub image: Output<String>,
pub interface: Output<String>,
pub label_fingerprint: Output<String>,
pub labels: Output<HashMap<String, String>>,
pub last_attach_timestamp: Output<String>,
pub last_detach_timestamp: Output<String>,
pub licenses: Output<Vec<String>>,
pub multi_writer: Output<bool>,
pub name: Output<String>,
pub physical_block_size_bytes: Output<i32>,
pub project: Output<Option<String>>,
pub provisioned_iops: Output<i32>,
pub provisioned_throughput: Output<i32>,
pub pulumi_labels: Output<HashMap<String, String>>,
pub resource_policies: Output<Vec<String>>,
pub self_link: Output<String>,
pub size: Output<i32>,
pub snapshot: Output<String>,
pub source_disk: Output<String>,
pub source_disk_id: Output<String>,
pub source_image_encryption_keys: Output<Vec<GetDiskSourceImageEncryptionKey>>,
pub source_image_id: Output<String>,
pub source_snapshot_encryption_keys: Output<Vec<GetDiskSourceSnapshotEncryptionKey>>,
pub source_snapshot_id: Output<String>,
pub storage_pool: Output<String>,
pub type_: Output<String>,
pub users: Output<Vec<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§access_mode: Output<String>
§async_primary_disks: Output<Vec<GetDiskAsyncPrimaryDisk>>
§creation_timestamp: Output<String>
Creation timestamp in RFC3339 text format.
description: Output<String>
The optional description of this resource.
disk_encryption_keys: Output<Vec<GetDiskDiskEncryptionKey>>
§disk_id: Output<String>
§effective_labels: Output<HashMap<String, String>>
§enable_confidential_compute: Output<bool>
§guest_os_features: Output<Vec<GetDiskGuestOsFeature>>
§id: Output<String>
The provider-assigned unique ID for this managed resource.
image: Output<String>
The image from which to initialize this disk.
interface: Output<String>
§label_fingerprint: Output<String>
The fingerprint used for optimistic locking of this resource. Used internally during updates.
labels: Output<HashMap<String, String>>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
last_attach_timestamp: Output<String>
Last attach timestamp in RFC3339 text format.
last_detach_timestamp: Output<String>
Last detach timestamp in RFC3339 text format.
licenses: Output<Vec<String>>
§multi_writer: Output<bool>
§name: Output<String>
§physical_block_size_bytes: Output<i32>
Physical block size of the persistent disk, in bytes.
project: Output<Option<String>>
§provisioned_iops: Output<i32>
§provisioned_throughput: Output<i32>
§pulumi_labels: Output<HashMap<String, String>>
§resource_policies: Output<Vec<String>>
§self_link: Output<String>
The URI of the created resource.
size: Output<i32>
Size of the persistent disk, specified in GB.
snapshot: Output<String>
The source snapshot used to create this disk.
source_disk: Output<String>
§source_disk_id: Output<String>
§source_image_encryption_keys: Output<Vec<GetDiskSourceImageEncryptionKey>>
The customer-supplied encryption key of the source image.
source_image_id: Output<String>
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
source_snapshot_encryption_keys: Output<Vec<GetDiskSourceSnapshotEncryptionKey>>
The customer-supplied encryption key of the source snapshot.
source_snapshot_id: Output<String>
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
storage_pool: Output<String>
§type_: Output<String>
URL of the disk type resource describing which disk type to use to create the disk.
users: Output<Vec<String>>
Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance
zone: Output<Option<String>>
A reference to the zone where the disk resides.