toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'accessMode': ?accessMode,
'architecture': ?architecture,
'asyncPrimaryDisk': ?pulumi.Input.mapOptionalInputValue<DiskAsyncPrimaryDisk, Map<String, dynamic>>(asyncPrimaryDisk, (value) => value.toMap()),
'createSnapshotBeforeDestroy': ?createSnapshotBeforeDestroy,
'createSnapshotBeforeDestroyPrefix': ?createSnapshotBeforeDestroyPrefix,
'creationTimestamp': ?creationTimestamp,
'deletionPolicy': ?deletionPolicy,
'description': ?description,
'diskEncryptionKey': ?pulumi.Input.mapOptionalInputValue<DiskDiskEncryptionKey, Map<String, dynamic>>(diskEncryptionKey, (value) => value.toMap()),
'diskId': ?diskId,
'effectiveLabels': ?effectiveLabels,
'enableConfidentialCompute': ?enableConfidentialCompute,
'eraseWindowsVssSignature': ?eraseWindowsVssSignature,
'guestOsFeatures': ?pulumi.Input.mapOptionalInputValue<List<DiskGuestOsFeature>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<DiskGuestOsFeature, Map<String, dynamic>>(value, (value) => value.toMap())),
'image': ?image,
'interface': ?interface,
'labelFingerprint': ?labelFingerprint,
'labels': ?labels,
'lastAttachTimestamp': ?lastAttachTimestamp,
'lastDetachTimestamp': ?lastDetachTimestamp,
'licenses': ?licenses,
'multiWriter': ?multiWriter,
'name': ?name,
'params': ?pulumi.Input.mapOptionalInputValue<DiskParams, Map<String, dynamic>>(params, (value) => value.toMap()),
'physicalBlockSizeBytes': ?physicalBlockSizeBytes,
'project': ?project,
'provisionedIops': ?provisionedIops,
'provisionedThroughput': ?provisionedThroughput,
'pulumiLabels': ?pulumiLabels,
'resourcePolicies': ?resourcePolicies,
'selfLink': ?selfLink,
'size': ?size,
'snapshot': ?snapshot,
'sourceDisk': ?sourceDisk,
'sourceDiskId': ?sourceDiskId,
'sourceImageEncryptionKey': ?pulumi.Input.mapOptionalInputValue<DiskSourceImageEncryptionKey, Map<String, dynamic>>(sourceImageEncryptionKey, (value) => value.toMap()),
'sourceImageId': ?sourceImageId,
'sourceInstantSnapshot': ?sourceInstantSnapshot,
'sourceInstantSnapshotId': ?sourceInstantSnapshotId,
'sourceSnapshotEncryptionKey': ?pulumi.Input.mapOptionalInputValue<DiskSourceSnapshotEncryptionKey, Map<String, dynamic>>(sourceSnapshotEncryptionKey, (value) => value.toMap()),
'sourceSnapshotId': ?sourceSnapshotId,
'sourceStorageObject': ?sourceStorageObject,
'storagePool': ?storagePool,
'type': ?type,
'users': ?users,
'zone': ?zone,
};
}