toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsArchitectureComputeV1, String>(architecture, (value) => value.wireValue),
    'description': ?description,
    'diskName': ?diskName,
    'diskSizeGb': ?diskSizeGb,
    'diskType': ?diskType,
    'labels': ?labels,
    'licenses': ?licenses,
    'onUpdateAction': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsOnUpdateActionComputeV1, String>(onUpdateAction, (value) => value.wireValue),
    'provisionedIops': ?provisionedIops,
    'provisionedThroughput': ?provisionedThroughput,
    'replicaZones': ?replicaZones,
    'resourceManagerTags': ?resourceManagerTags,
    'resourcePolicies': ?resourcePolicies,
    '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()),
  };
}