toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': ?pulumi.Input.mapOptionalInputValue<ImageArchitectureComputeV1, String>(architecture, (value) => value.wireValue),
    'archiveSizeBytes': ?archiveSizeBytes,
    'deprecated': ?pulumi.Input.mapOptionalInputValue<DeprecationStatusComputeV1, Map<String, dynamic>>(deprecated, (value) => value.toMap()),
    'description': ?description,
    'diskSizeGb': ?diskSizeGb,
    'family': ?family,
    'forceCreate': ?forceCreate,
    'guestOsFeatures': ?pulumi.Input.mapOptionalInputValue<List<GuestOsFeatureComputeV1>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<GuestOsFeatureComputeV1, Map<String, dynamic>>(value, (value) => value.toMap())),
    'imageEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeV1, Map<String, dynamic>>(imageEncryptionKey, (value) => value.toMap()),
    'labels': ?labels,
    'licenseCodes': ?licenseCodes,
    'licenses': ?licenses,
    'name': ?name,
    'project': ?project,
    'rawDisk': ?pulumi.Input.mapOptionalInputValue<ImageRawDiskComputeV1, Map<String, dynamic>>(rawDisk, (value) => value.toMap()),
    'requestId': ?requestId,
    'shieldedInstanceInitialState': ?pulumi.Input.mapOptionalInputValue<InitialStateConfigComputeV1, Map<String, dynamic>>(shieldedInstanceInitialState, (value) => value.toMap()),
    'sourceDisk': ?sourceDisk,
    'sourceDiskEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeV1, Map<String, dynamic>>(sourceDiskEncryptionKey, (value) => value.toMap()),
    'sourceImage': ?sourceImage,
    'sourceImageEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeV1, Map<String, dynamic>>(sourceImageEncryptionKey, (value) => value.toMap()),
    'sourceSnapshot': ?sourceSnapshot,
    'sourceSnapshotEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeV1, Map<String, dynamic>>(sourceSnapshotEncryptionKey, (value) => value.toMap()),
    'sourceType': ?pulumi.Input.mapOptionalInputValue<ImageSourceTypeComputeV1, String>(sourceType, (value) => value.wireValue),
    'storageLocations': ?storageLocations,
  };
}