toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': ?pulumi.Input.mapOptionalInputValue<DiskArchitectureComputeV1, String>(architecture, (value) => value.wireValue),
    'asyncPrimaryDisk': ?pulumi.Input.mapOptionalInputValue<DiskAsyncReplicationComputeV1, Map<String, dynamic>>(asyncPrimaryDisk, (value) => value.toMap()),
    'description': ?description,
    'diskEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeV1, Map<String, dynamic>>(diskEncryptionKey, (value) => value.toMap()),
    'guestOsFeatures': ?pulumi.Input.mapOptionalInputValue<List<GuestOsFeatureComputeV1>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<GuestOsFeatureComputeV1, Map<String, dynamic>>(value, (value) => value.toMap())),
    'labels': ?labels,
    'licenseCodes': ?licenseCodes,
    'licenses': ?licenses,
    'locationHint': ?locationHint,
    'name': ?name,
    'options': ?options,
    'params': ?pulumi.Input.mapOptionalInputValue<DiskParamsComputeV1, Map<String, dynamic>>(params, (value) => value.toMap()),
    'physicalBlockSizeBytes': ?physicalBlockSizeBytes,
    'project': ?project,
    'provisionedIops': ?provisionedIops,
    'provisionedThroughput': ?provisionedThroughput,
    'replicaZones': ?replicaZones,
    'requestId': ?requestId,
    'resourcePolicies': ?resourcePolicies,
    'sizeGb': ?sizeGb,
    'sourceDisk': ?sourceDisk,
    '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()),
    'sourceStorageObject': ?sourceStorageObject,
    'type': ?type,
    'zone': ?zone,
  };
}