toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'autoDelete': autoDelete,
'boot': boot,
'deviceName': deviceName,
'diskEncryptionKey': pulumi.Input.mapInputValue<CustomerEncryptionKeyResponseComputeV1, Map<String, dynamic>>(diskEncryptionKey, (value) => value.toMap()),
'diskSizeGb': diskSizeGb,
'diskType': diskType,
'guestOsFeatures': pulumi.Input.mapInputValue<List<GuestOsFeatureResponseComputeV1>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<GuestOsFeatureResponseComputeV1, Map<String, dynamic>>(value, (value) => value.toMap())),
'index': index,
'interface': interface,
'kind': kind,
'licenses': licenses,
'mode': mode,
'source': source,
'storageBytes': storageBytes,
'storageBytesStatus': storageBytesStatus,
'type': type,
};
}