toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'accessMode': accessMode,
'architecture': architecture,
'asyncPrimaryDisk': asyncPrimaryDisk.toMap(),
'asyncSecondaryDisks': asyncSecondaryDisks,
'creationTimestamp': creationTimestamp,
'description': description,
'diskEncryptionKey': diskEncryptionKey.toMap(),
'enableConfidentialCompute': enableConfidentialCompute,
'eraseWindowsVssSignature': eraseWindowsVssSignature,
'guestOsFeatures': pulumi.Input.encodeList<GuestOsFeatureResponse, Map<String, dynamic>>(guestOsFeatures, (value) => value.toMap()),
'interface': interface,
'kind': kind,
'labelFingerprint': labelFingerprint,
'labels': labels,
'lastAttachTimestamp': lastAttachTimestamp,
'lastDetachTimestamp': lastDetachTimestamp,
'licenseCodes': licenseCodes,
'licenses': licenses,
'locationHint': locationHint,
'locked': locked,
'multiWriter': multiWriter,
'name': name,
'options': options,
'params': params.toMap(),
'physicalBlockSizeBytes': physicalBlockSizeBytes,
'provisionedIops': provisionedIops,
'provisionedThroughput': provisionedThroughput,
'region': region,
'replicaZones': replicaZones,
'resourcePolicies': resourcePolicies,
'resourceStatus': resourceStatus.toMap(),
'satisfiesPzs': satisfiesPzs,
'selfLink': selfLink,
'selfLinkWithId': selfLinkWithId,
'sizeGb': sizeGb,
'sourceConsistencyGroupPolicy': sourceConsistencyGroupPolicy,
'sourceConsistencyGroupPolicyId': sourceConsistencyGroupPolicyId,
'sourceDisk': sourceDisk,
'sourceDiskId': sourceDiskId,
'sourceImage': sourceImage,
'sourceImageEncryptionKey': sourceImageEncryptionKey.toMap(),
'sourceImageId': sourceImageId,
'sourceInstantSnapshot': sourceInstantSnapshot,
'sourceInstantSnapshotId': sourceInstantSnapshotId,
'sourceSnapshot': sourceSnapshot,
'sourceSnapshotEncryptionKey': sourceSnapshotEncryptionKey.toMap(),
'sourceSnapshotId': sourceSnapshotId,
'sourceStorageObject': sourceStorageObject,
'status': status,
'storagePool': storagePool,
'storageType': storageType,
'type': type,
'userLicenses': userLicenses,
'users': users,
'zone': zone,
};
}