toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'bundleId': bundleId,
    'computerName': computerName,
    'directoryId': directoryId,
    'id': id,
    'ipAddress': ipAddress,
    'region': region,
    'rootVolumeEncryptionEnabled': rootVolumeEncryptionEnabled,
    'state': state,
    'tags': tags,
    'userName': userName,
    'userVolumeEncryptionEnabled': userVolumeEncryptionEnabled,
    'volumeEncryptionKey': volumeEncryptionKey,
    'workspaceId': workspaceId,
    'workspaceProperties': pulumi.Input.encodeList<GetWorkspaceWorkspaceProperty, Map<String, dynamic>>(workspaceProperties, (value) => value.toMap()),
  };
}