toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': architecture,
    'description': description,
    'diskName': diskName,
    'diskSizeGb': diskSizeGb,
    'diskType': diskType,
    'enableConfidentialCompute': enableConfidentialCompute,
    'guestOsFeatures': pulumi.Input.mapInputValue<List<GuestOsFeatureResponse>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<GuestOsFeatureResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'interface': interface,
    'labels': labels,
    'licenseCodes': licenseCodes,
    'licenses': licenses,
    'multiWriter': multiWriter,
    'onUpdateAction': onUpdateAction,
    'provisionedIops': provisionedIops,
    'provisionedThroughput': provisionedThroughput,
    'replicaZones': replicaZones,
    'resourceManagerTags': resourceManagerTags,
    'resourcePolicies': resourcePolicies,
    'sourceImage': sourceImage,
    'sourceImageEncryptionKey': pulumi.Input.mapInputValue<CustomerEncryptionKeyResponse, Map<String, dynamic>>(sourceImageEncryptionKey, (value) => value.toMap()),
    'sourceInstantSnapshot': sourceInstantSnapshot,
    'sourceSnapshot': sourceSnapshot,
    'sourceSnapshotEncryptionKey': pulumi.Input.mapInputValue<CustomerEncryptionKeyResponse, Map<String, dynamic>>(sourceSnapshotEncryptionKey, (value) => value.toMap()),
    'storagePool': storagePool,
  };
}