SnapshotComputeV1 constructor
SnapshotComputeV1(
- String name, {
- SnapshotComputeV1Args? args,
- CustomResourceOptions? options,
Creates a new SnapshotComputeV1.
name The Pulumi resource name.
args Arguments used to configure this SnapshotComputeV1. The set of arguments for Snapshot.
options Resource options controlling this resource's behavior.
Implementation
SnapshotComputeV1(
String name, {
SnapshotComputeV1Args? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:compute/v1:Snapshot',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
architecture = registerOutput<String>('architecture');
autoCreated = registerOutput<bool>('autoCreated');
chainName = registerOutput<String>('chainName');
creationSizeBytes = registerOutput<String>('creationSizeBytes');
creationTimestamp = registerOutput<String>('creationTimestamp');
description = registerOutput<String>('description');
diskSizeGb = registerOutput<String>('diskSizeGb');
downloadBytes = registerOutput<String>('downloadBytes');
guestOsFeatures = registerOutput<List<Map<String, dynamic>>>('guestOsFeatures');
kind = registerOutput<String>('kind');
labelFingerprint = registerOutput<String>('labelFingerprint');
labels = registerOutput<Map<String, String>>('labels');
licenseCodes = registerOutput<List<String>>('licenseCodes');
licenses = registerOutput<List<String>>('licenses');
locationHint = registerOutput<String>('locationHint');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
requestId = registerOutput<String?>('requestId');
satisfiesPzs = registerOutput<bool>('satisfiesPzs');
selfLink = registerOutput<String>('selfLink');
snapshotEncryptionKey = registerOutput<CustomerEncryptionKeyResponseComputeV1>('snapshotEncryptionKey', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CustomerEncryptionKeyResponseComputeV1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
snapshotType = registerOutput<String>('snapshotType');
sourceDisk = registerOutput<String>('sourceDisk');
sourceDiskEncryptionKey = registerOutput<CustomerEncryptionKeyResponseComputeV1>('sourceDiskEncryptionKey', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CustomerEncryptionKeyResponseComputeV1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
sourceDiskForRecoveryCheckpoint = registerOutput<String>('sourceDiskForRecoveryCheckpoint');
sourceDiskId = registerOutput<String>('sourceDiskId');
sourceSnapshotSchedulePolicy = registerOutput<String>('sourceSnapshotSchedulePolicy');
sourceSnapshotSchedulePolicyId = registerOutput<String>('sourceSnapshotSchedulePolicyId');
status = registerOutput<String>('status');
storageBytes = registerOutput<String>('storageBytes');
storageBytesStatus = registerOutput<String>('storageBytesStatus');
storageLocations = registerOutput<List<String>>('storageLocations');
}