toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': ?architecture,
    'enableConfidentialCompute': ?enableConfidentialCompute,
    'image': ?image,
    'labels': ?labels,
    'provisionedIops': ?provisionedIops,
    'provisionedThroughput': ?provisionedThroughput,
    'replicaZones': ?replicaZones,
    'resourceManagerTags': ?resourceManagerTags,
    'resourcePolicies': ?resourcePolicies,
    'size': ?size,
    'snapshot': ?snapshot,
    'sourceImageEncryptionKey': ?pulumi.Input.mapOptionalInputValue<InstanceFromTemplateBootDiskInitializeParamsSourceImageEncryptionKey, Map<String, dynamic>>(sourceImageEncryptionKey, (value) => value.toMap()),
    'sourceSnapshotEncryptionKey': ?pulumi.Input.mapOptionalInputValue<InstanceFromTemplateBootDiskInitializeParamsSourceSnapshotEncryptionKey, Map<String, dynamic>>(sourceSnapshotEncryptionKey, (value) => value.toMap()),
    'storagePool': ?storagePool,
    'type': ?type,
  };
}